parse5-html-rewriting-stream 7.0.0 before 8.1.1 XSS via RewritingStream#emitText
CVE-2026-133244Published 19 Nov 2026, 15:52 UTC
Real-world risk
1.8/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
5.3
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from VulnCheck)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| parse5Niche | >= 7.0.0, < 8.1.1 | 8.1.1 |
What to do
Update to a fixed version: 8.1.1.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | MinorReflected XSS, CSRF with low effect, open redirect, minor leak | From the CVSS vector | 0.30 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | RoutineA normal action: open a file, visit a page, click a link | From the CVSS vector | 0.70 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.3% chance of exploitation in 30 days (percentile 23), as of 2026-12-04.
The arithmetic
- Prerequisites multiplied together0.700
- Threat T1: Nothing known0.850
- 10 × impact 0.3 × prerequisites 0.7 × threat 0.851.785
- Rounded to one decimal between 0.1 and 101.8
Exploitation and evidence timeline
- 19 Nov 2026 Published
- 3 Dec 2026 Risk 1.8 (cvss fallback)
Weakness
CWE-79
References
- https://github.com/inikulin/parse5/releases/tag/v8.1.1release-notes
- https://github.com/inikulin/parse5/pull/1921issue-tracking, patch
- https://github.com/inikulin/parse5/commit/e02abba4aa177b70a3a26cf90f6d62cd3ef8c44apatch
- https://github.com/inikulin/parse5/blob/v8.1.0/packages/parse5-html-rewriting-stream/lib/index.ts#L137-L145technical-description
- https://github.com/inikulin/parse5product
- https://www.vulncheck.com/advisories/parse5-html-rewriting-stream-7.0.0-before-8.1.1-xss-via-rewritingstream-emittextthird-party-advisory
- CVE-2026-133244 on CVE.org