medium6.1
CVE-2020-8823
Cross-site scripting in SocksJS-node
Impact
htmlfile in lib/transport/htmlfile.js in SockJS before 0.3.0 is vulnerable to Reflected XSS via the /htmlfile c (aka callback) parameter.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | sockjs | < 0.3.0 | 0.3.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Sockjs Project | Sockjs | before 0.3.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- 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
- https://github.com/advisories/GHSA-hh8v-jmh3-9437
- https://nvd.nist.gov/vuln/detail/CVE-2020-8823
- https://www.npmjs.com/package/sockjs