parse5-html-rewriting-stream 7.0.0 before 8.1.1 XSS via RewritingStream#emitText
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| inikulinparse5 |
≥ 7.0.0, < 8.1.1→ 8.1.1 |
8.1.1 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-133244 node-parse5 No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-133244 node-parse5 No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- patch github.com
- web github.com
- web github.com