{"id":"CVE-2020-8823","published":"2020-02-10T02:06:25Z","modified":"2024-08-04T10:12:10Z","title":"htmlfile in lib/transport/htmlfile.js in SockJS before 0.3.0 is vulnerable to Reflected XSS via the /htmlfile c (aka…","vendor":null,"product":null,"tier":"tail","description":{"text":"htmlfile in lib/transport/htmlfile.js in SockJS before 0.3.0 is vulnerable to Reflected XSS via the /htmlfile c (aka callback) parameter.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01886,"percentile":0.80029,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/theyiyibest/Reflected-XSS-on-SockJS","tags":["x_refsource_MISC"]},{"url":"https://www.sockjs.org","tags":["x_refsource_MISC"]},{"url":"https://snyk.io/vuln/SNYK-JS-SOCKJS-548397","tags":["x_refsource_MISC"]},{"url":"https://github.com/theyiyibest/Reflected-XSS-on-SockJS/issues/1","tags":["x_refsource_MISC"]}],"priority":{"score":16.0,"factors":[{"name":"EPSS percentile","points":16.01}]},"affected":[{"ecosystem":"npm","package":"sockjs","vulnerableRanges":["<0.3.0"],"patched":["0.3.0"],"from":["GHSA-hh8v-jmh3-9437"],"provenance":"source"}],"summary":{"text":"The htmlfile transport in lib/transport/htmlfile.js of SockJS, in versions before 0.3.0, contains a reflected cross-site scripting flaw in its handling of the /htmlfile endpoint. An attacker can exploit it by getting a victim to load a crafted URL that supplies malicious script through the c (callback) parameter, which the server reflects back into the response.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:38:07Z"},"euvd":{"id":"EUVD-2021-0832","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2020-8823","published":"2020-02-10","fixed":"0.3.0","kev":false},{"cve":"CVE-2020-7693","published":"2020-07-09","fixed":"0.3.20","kev":false,"link":{"from":"CVE-2020-8823","to":"CVE-2020-7693","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:sockjs","fromFixed":"0.3.0","toFixed":"0.3.20","daysApart":150}]}}],"package":"npm:sockjs"}}