{"id":"CVE-2020-8823","aliases":["EUVD-2021-0832","GHSA-hh8v-jmh3-9437","SNYK-JS-SOCKJS-548397"],"status":"published","title":"Cross-site scripting in SocksJS-node","description":"htmlfile in lib/transport/htmlfile.js in SockJS before 0.3.0 is vulnerable to Reflected XSS via the /htmlfile c (aka callback) parameter.","severity":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.01886,"percentile":0.7969,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2020-02-10T02:06:25Z","modified":"2026-11-10T02:30:35Z","fixes":[{"ecosystem":"npm","package":"sockjs","fixed_in":["0.3.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"sockjs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.0"}]}]},{"source":"osv","ecosystem":"npm","package":"sockjs","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.3.0"}]}]}],"products":[{"vendor":"sockjs_project","product":"sockjs"}],"references":[{"url":"https://github.com/theyiyibest/Reflected-XSS-on-SockJS","tags":["x_refsource_MISC","x_transferred","Exploit","Patch","Third Party Advisory","fix","web"]},{"url":"https://www.sockjs.org","tags":["x_refsource_MISC","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://snyk.io/vuln/SNYK-JS-SOCKJS-548397","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/theyiyibest/Reflected-XSS-on-SockJS/issues/1","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-8823","tags":["advisory"]},{"url":"https://www.npmjs.com/package/sockjs","tags":["web"]},{"url":"https://github.com/advisories/GHSA-hh8v-jmh3-9437"}],"sources":{"cve":[{"id":"CVE-2020-8823","description":"htmlfile in lib/transport/htmlfile.js in SockJS before 0.3.0 is vulnerable to Reflected XSS via the /htmlfile c (aka callback) parameter.","status":"published","published":"2020-02-10T02:06:25Z","modified":"2024-08-04T10:12:10.966Z","updated_at":"2026-11-02T14:35:50.545879Z"}],"euvd":[{"id":"EUVD-2021-0832","description":"htmlfile in lib/transport/htmlfile.js in SockJS before 0.3.0 is vulnerable to Reflected XSS via the /htmlfile c (aka callback) parameter.","status":"published","published":"2020-02-10T02:06:25Z","modified":"2024-08-04T10:12:10Z","updated_at":"2026-11-03T03:07:55.71159Z"}],"ghsa":[{"id":"GHSA-hh8v-jmh3-9437","title":"Cross-site scripting in SocksJS-node","description":"htmlfile in lib/transport/htmlfile.js in SockJS before 0.3.0 is vulnerable to Reflected XSS via the /htmlfile c (aka callback) parameter.","status":"published","published":"2021-04-13T15:25:33Z","modified":"2023-02-01T05:05:15Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:36:33.613868Z"}],"nvd":[{"id":"CVE-2020-8823","description":"htmlfile in lib/transport/htmlfile.js in SockJS before 0.3.0 is vulnerable to Reflected XSS via the /htmlfile c (aka callback) parameter.","status":"published","published":"2020-02-10T03:15:10.677Z","modified":"2026-06-17T03:27:00.477Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:05:53.837808Z"}],"osv":[{"id":"CVE-2020-8823","description":"htmlfile in lib/transport/htmlfile.js in SockJS before 0.3.0 is vulnerable to Reflected XSS via the /htmlfile c (aka callback) parameter.","status":"published","published":"2020-02-10T03:15:10.677Z","modified":"2026-11-10T02:30:35.876536254Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-10T02:45:53.470331Z"},{"id":"GHSA-hh8v-jmh3-9437","title":"Cross-site scripting in SocksJS-node","description":"htmlfile in lib/transport/htmlfile.js in SockJS before 0.3.0 is vulnerable to Reflected XSS via the /htmlfile c (aka callback) parameter.","status":"published","published":"2021-04-13T15:25:33Z","modified":"2026-09-10T03:49:03.202631692Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:49.28217Z"}]}}
