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.
Remediation
References
https://github.com/theyiyibest/Reflected-XSS-on-SockJS
https://github.com/theyiyibest/Reflected-XSS-on-SockJS/issues/1
https://snyk.io/vuln/SNYK-JS-SOCKJS-548397
https://www.sockjs.org
Related Vulnerabilities
CVE-2020-7600 Vulnerability in npm package querymen
CVE-2022-2217 Vulnerability in maven package org.webjars.npm:parse-url
CVE-2021-27515 Vulnerability in npm package url-parse
CVE-2023-0482 Vulnerability in maven package org.jboss.resteasy:resteasy-undertow
CVE-2023-26128 Vulnerability in npm package keep-module-latest