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-41303 Vulnerability in maven package org.apache.shiro:shiro-core
CVE-2020-10244 Vulnerability in maven package dev.paseto:jpaseto-sodium
CVE-2020-28503 Vulnerability in maven package org.webjars.npm:copy-props
CVE-2021-3163 Vulnerability in npm package quill
CVE-2023-29921 Vulnerability in maven package tech.powerjob:powerjob