{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-8823","id":"CVE-2020-8823","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.","descriptionLong":"htmlfile in lib/transport/htmlfile.js in SockJS before 0.3.0 is vulnerable to Reflected XSS via the /htmlfile c (aka callback) parameter.","published":"2020-02-10T02:06:25.000Z","updated":"2026-11-10T02:30:35.876536254Z","reserved":"2020-02-10T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"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","rating":"medium","source":"NVD"},"metrics":[{"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","rating":"medium","source":"NVD"},{"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","rating":"medium","source":"OSV"},{"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","rating":"medium","source":"GitHub"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"sockjs","purl":"pkg:npm/sockjs","ranges":["<0.3.0"],"fixed":["0.3.0"],"advisory":"GHSA-hh8v-jmh3-9437"}],"cwes":["CWE-79"],"aliases":["GHSA-hh8v-jmh3-9437","SNYK-JS-SOCKJS-548397"],"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"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01886,"epssPercentile":0.79968,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-8823","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-8823","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-8823","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-hh8v-jmh3-9437","ok":true,"note":"GHSA-hh8v-jmh3-9437"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2020-8823","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}