{"id":"GHSA-hh8v-jmh3-9437","summary":"Cross-site scripting in SocksJS-node","details":"htmlfile in lib/transport/htmlfile.js in SockJS before 0.3.0 is vulnerable to Reflected XSS via the /htmlfile c (aka callback) parameter.","aliases":["CVE-2020-8823","SNYK-JS-SOCKJS-548397"],"modified":"2026-09-10T03:49:03.202631692Z","published":"2021-04-13T15:25:33Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2021-04-06T21:51:28Z","nvd_published_at":"2020-02-10T03:15:00Z","cwe_ids":["CWE-79"],"severity":"MODERATE"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-8823"},{"type":"WEB","url":"https://github.com/theyiyibest/Reflected-XSS-on-SockJS/issues/1"},{"type":"WEB","url":"https://github.com/theyiyibest/Reflected-XSS-on-SockJS"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-SOCKJS-548397"},{"type":"WEB","url":"https://www.npmjs.com/package/sockjs"},{"type":"WEB","url":"https://www.sockjs.org"}],"affected":[{"package":{"name":"sockjs","ecosystem":"npm","purl":"pkg:npm/sockjs"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.3.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/04/GHSA-hh8v-jmh3-9437/GHSA-hh8v-jmh3-9437.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}