{"id":"CVE-2020-8823","aliases":["GHSA-hh8v-jmh3-9437","SNYK-JS-SOCKJS-548397"],"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.","published_at":"2020-02-08T00:00:00Z","modified_at":"2026-09-10T03:49:03.202631Z","products":[],"rating":{"severity":"medium","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","attack_path":"internet_unauthenticated","user_interaction":true,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"Red Hat","rating":"Moderate"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.018859999254345894,"percentile":0.7996799945831299,"date":"2026-11-19T00:00:00Z"},"priority":7.6,"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.","affected_stack":[],"affected_other":[{"ecosystem":"NVD","package":"sockjs_project:sockjs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.0"}]}],"fixed":["0.3.0"],"provider":"nvd","source":"CVE-2020-8823","relation":"self"},{"ecosystem":"npm","package":"sockjs","purl":"pkg:npm/sockjs","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.3.0"}]}],"fixed":["0.3.0"],"provider":"osv","source":"GHSA-hh8v-jmh3-9437","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Distributed Tracing Jaeger 1","cpe":"cpe:/a:redhat:jaeger:1.17::el7","status":"not_affected","packages":["jaeger"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2020-8823"},{"vendor":"Red Hat","product":"OpenShift Service Mesh 1","cpe":"cpe:/a:redhat:service_mesh:1","status":"not_affected","packages":["jaeger","kiali","servicemesh-grafana","servicemesh-grafana-prometheus"],"package_count":4,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2020-8823"},{"vendor":"Red Hat","product":"Red Hat OpenShift Application Runtimes","cpe":"cpe:/a:redhat:openshift_application_runtimes:1.0","status":"not_affected","packages":["vertx-sockjs-service-proxy"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2020-8823"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2020-8823","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2020-8823","license":"CC-BY-4.0","published_at":"2020-02-10T02:06:25Z","modified_at":"2024-08-04T10:12:10.966Z","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.","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.","severity":[],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/theyiyibest/Reflected-XSS-on-SockJS"},{"type":"WEB","url":"https://www.sockjs.org"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-SOCKJS-548397"},{"type":"WEB","url":"https://github.com/theyiyibest/Reflected-XSS-on-SockJS/issues/1"}]},{"provider":"nvd","source_id":"CVE-2020-8823","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-8823","severity":[],"affected":[{"ecosystem":"NVD","package":"sockjs_project:sockjs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.0"}]}],"fixed":["0.3.0"],"provider":"nvd","source":"CVE-2020-8823","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"GHSA-hh8v-jmh3-9437","relation":"self","url":"https://osv.dev/vulnerability/GHSA-hh8v-jmh3-9437","license":"CC-BY-4.0","published_at":"2021-04-13T15:25:33Z","modified_at":"2026-09-10T03:49:03.202631Z","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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"GHSA-hh8v-jmh3-9437"}],"affected":[{"ecosystem":"npm","package":"sockjs","purl":"pkg:npm/sockjs","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.3.0"}]}],"fixed":["0.3.0"],"provider":"osv","source":"GHSA-hh8v-jmh3-9437","relation":"self"}],"product_status":[],"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"}]},{"provider":"redhat-vex","source_id":"CVE-2020-8823","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2020-8823","license":"CC-BY-4.0","published_at":"2020-02-08T00:00:00Z","modified_at":"2021-02-16T20:28:22Z","summary":"sockJS: function htmlfile is not checking the non-alphanumeric symbols which could result in reflected XSS","details":"A cross-site scripting (XSS) vulnerability was found in the Node.js library, sockjs. An attacker could use this vulnerability to supply a query string with script tags, which could trick a victim into executing a specially crafted JavaScript code.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"CVE-2020-8823"},{"type":"Red Hat","score":"Moderate","source":"CVE-2020-8823"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Distributed Tracing Jaeger 1","cpe":"cpe:/a:redhat:jaeger:1.17::el7","status":"not_affected","packages":["jaeger"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2020-8823"},{"vendor":"Red Hat","product":"OpenShift Service Mesh 1","cpe":"cpe:/a:redhat:service_mesh:1","status":"not_affected","packages":["jaeger","kiali","servicemesh-grafana","servicemesh-grafana-prometheus"],"package_count":4,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2020-8823"},{"vendor":"Red Hat","product":"Red Hat OpenShift Application Runtimes","cpe":"cpe:/a:redhat:openshift_application_runtimes:1.0","status":"not_affected","packages":["vertx-sockjs-service-proxy"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2020-8823"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2020/cve-2020-8823.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2020-8823"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1813969"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2020-8823"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-8823"},{"type":"WEB","url":"https://github.com/theyiyibest/Reflected-XSS-on-SockJS"}]}],"references":[{"type":"WEB","url":"https://github.com/theyiyibest/Reflected-XSS-on-SockJS"},{"type":"WEB","url":"https://www.sockjs.org"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-SOCKJS-548397"},{"type":"WEB","url":"https://github.com/theyiyibest/Reflected-XSS-on-SockJS/issues/1"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-8823"},{"type":"WEB","url":"https://www.npmjs.com/package/sockjs"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2020/cve-2020-8823.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2020-8823"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1813969"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2020-8823"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2020-8823","url":"https://www.cve.org/CVERecord?id=CVE-2020-8823","license":"CC-BY-4.0","modified_at":"2024-08-04T10:12:10.966Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2020-8823","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-8823","relation":"self"},{"provider":"osv","source_id":"GHSA-hh8v-jmh3-9437","url":"https://osv.dev/vulnerability/GHSA-hh8v-jmh3-9437","license":"CC-BY-4.0","modified_at":"2026-09-10T03:49:03.202631Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2020-8823","url":"https://access.redhat.com/security/cve/CVE-2020-8823","license":"CC-BY-4.0","modified_at":"2021-02-16T20:28:22Z","relation":"self"}]}
