{"id":"GHSA-hh8v-jmh3-9437","revision":"062eb37cfe8a45a5b3f3524020e27258","records":[{"revision":"062eb37cfe8a45a5b3f3524020e27258","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-hh8v-jmh3-9437","aliases":["CVE-2020-8823","SNYK-JS-SOCKJS-548397"],"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.","state":0,"publishedAt":"2021-04-13T15:25:33+00:00","modifiedAt":"2026-09-10T03:49:03.2026317+00:00","affected":[{"ecosystem":"npm","name":"sockjs","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.3.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2020-8823","https://github.com/theyiyibest/Reflected-XSS-on-SockJS/issues/1","https://github.com/theyiyibest/Reflected-XSS-on-SockJS","https://snyk.io/vuln/SNYK-JS-SOCKJS-548397","https://www.npmjs.com/package/sockjs","https://www.sockjs.org/"],"sourceUrl":"https://github.com/advisories/GHSA-hh8v-jmh3-9437","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-hh8v-jmh3-9437","identifiers":["GHSA-hh8v-jmh3-9437","CVE-2020-8823","SNYK-JS-SOCKJS-548397"]},"retained":false,"historicalAffected":[]}],"coverage":[]}