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-33202 Vulnerability in maven package org.bouncycastle:bc-fips
CVE-2019-10779 Vulnerability in maven package stroom:stroom-app
CVE-2022-24615 Vulnerability in maven package net.lingala.zip4j:zip4j
CVE-2023-26158 Vulnerability in maven package org.webjars.npm:mockjs
CVE-2021-46708 Vulnerability in maven package org.webjars.npm:swagger-ui-dist