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-2021-3717 Vulnerability in maven package org.wildfly.core:wildfly-core-parent
CVE-2023-48910 Vulnerability in maven package io.github.microcks:microcks
CVE-2010-1587 Vulnerability in maven package org.apache.activemq:apache-activemq
CVE-2020-6429 Vulnerability in maven package org.webjars.npm:electron
CVE-2020-7238 Vulnerability in maven package io.netty:netty-codec-http