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-2023-34840 Vulnerability in npm package angular-ui-notification
CVE-2022-25352 Vulnerability in npm package libnested
CVE-2023-25345 Vulnerability in npm package swig-templates
CVE-2020-7707 Vulnerability in npm package property-expr
CVE-2020-2192 Vulnerability in maven package org.jenkins-ci.plugins:swarm-plugin