npm
CVE-2026-133244
parse5-html-rewriting-stream 7.0.0 before 8.1.1 XSS via RewritingStream#emitText
- Severity
- Medium 5.3
- Published
- 19 Nov 2026
- Last changed
- 24 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 8.1.1
- Exploit chance
- 0.3% in the next 30 daysHigher than 21% of CVEs. EPSS by FIRST, 24 Nov 2026
- Weakness
- Cross-site scripting (CWE-79)
- Attack
- Over the network · No login needed · Needs someone to view a page or file
- Attacker can
- Read some data · Change some data
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N- Sources
- CVE Program
Description
parse5-html-rewriting-stream 7.0.0 before 8.1.1 contains a cross-site scripting vulnerability in RewritingStream#emitText, which skips escaping based on a stale lastStartTagName. Attackers can place entity-encoded markup after a closed script or style element to bypass RewritingStream-based filters and execute script in users' browsers.
Affected software
| Software | Affected versions |
|---|---|
parse5-html-rewriting-streamnpm · osv:npm:parse5-html-rewriting-stream |
|
About parse5-html-rewriting-stream
- Weekly downloads (npm)
- 7,491,407npm, 23 Nov 2026
This is the only vulnerability in parse5-html-rewriting-stream in our list.
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-133244