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://www.sockjs.org
https://github.com/theyiyibest/Reflected-XSS-on-SockJS
https://snyk.io/vuln/SNYK-JS-SOCKJS-548397
https://github.com/theyiyibest/Reflected-XSS-on-SockJS/issues/1
Related Vulnerabilities
CVE-2021-25646 Vulnerability in maven package org.apache.druid:druid-core
CVE-2024-36401 Vulnerability in maven package org.geoserver:gs-wfs
CVE-2023-33201 Vulnerability in maven package org.bouncycastle:bcprov-debug-jdk15to18
CVE-2019-10308 Vulnerability in maven package org.jvnet.hudson.plugins:analysis-core
CVE-2023-25765 Vulnerability in maven package org.jenkins-ci.plugins:email-ext