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-2022-36083 Vulnerability in maven package org.webjars.npm:jose
CVE-2021-25945 Vulnerability in npm package js-extend
CVE-2018-10469 Vulnerability in maven package org.b3log:symphony
CVE-2023-44487 Vulnerability in maven package org.eclipse.jetty.http2:http2-common
CVE-2019-18212 Vulnerability in maven package org.lsp4xml:org.eclipse.lsp4xml.extensions.emmet