CVE-2026-133244
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 stal…
Impact
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.
An attacker can exploit this over the network, without logging in, but a user has to do something, such as open a file or a link. If it succeeds: low risk of data being read, low risk of data or systems being changed. The attack can reach beyond the vulnerable component itself.
Affected products · Inikulin
| Product | Affected versions |
|---|---|
| Parse5 | from 7.0.0 before 8.1.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/inikulin/parse5/releases/tag/v8.1.1
- https://github.com/inikulin/parse5/pull/1921
- https://github.com/inikulin/parse5/commit/e02abba4aa177b70a3a26cf90f6d62cd3ef8c44a
- https://github.com/inikulin/parse5/blob/v8.1.0/packages/parse5-html-rewriting-stream/lib/index.ts#L137-L145
- https://github.com/inikulin/parse5
- https://www.vulncheck.com/advisories/parse5-html-rewriting-stream-7.0.0-before-8.1.1-xss-via-rewritingstream-emittext
- https://github.com/advisories/GHSA-63qr-2ccq-g863
- https://nvd.nist.gov/vuln/detail/CVE-2026-133244