{"id":"CVE-2020-8823","aliases":["CVE-2020-8823","GHSA-hh8v-jmh3-9437","SNYK-JS-SOCKJS-548397"],"related":[],"kind":"vulnerability","state":"published","title":"Cross-site scripting in SocksJS-node","summary":"htmlfile in lib/transport/htmlfile.js in SockJS before 0.3.0 is vulnerable to Reflected XSS via the /htmlfile c (aka callback) parameter.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"htmlfile en el archivo lib/transport/htmlfile.js en SockJS versiones anteriores a 0.3.0, es vulnerable a un ataque de tipo XSS Reflejado por medio del parámetro c (también se conoce como callback) de /htmlfile.","source":"nvd"}],"published":"2020-02-10T02:06:25.000Z","modified":"2026-09-10T03:49:03.202Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.3.0"}],"ecosystem":"npm","package":"sockjs","purl":"pkg:npm/sockjs","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"0.3.0"}],"vendor":"sockjs_project","product":"sockjs","cpe":"cpe:2.3:a:sockjs_project:sockjs:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/theyiyibest/Reflected-XSS-on-SockJS","tags":["exploit","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.sockjs.org","tags":["vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://snyk.io/vuln/SNYK-JS-SOCKJS-548397","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/theyiyibest/Reflected-XSS-on-SockJS/issues/1","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-8823","tags":["advisory"],"sources":["ghsa"]},{"url":"https://www.npmjs.com/package/sockjs","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-8823","url":"https://www.cve.org/CVERecord?id=CVE-2020-8823","licence":"CVE Terms of Use","modified":"2024-08-04T10:12:10.966Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-hh8v-jmh3-9437","url":"https://github.com/advisories/GHSA-hh8v-jmh3-9437","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:03.202Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-8823","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-8823","licence":"Public domain","modified":"2026-06-17T03:27:00.477Z"}],"updatedAt":"2026-11-25T22:57:50.777Z","epss":{"score":0.01886,"percentile":0.80121,"date":"2026-12-01T12:00:22.000Z"}}