CVE-2026-133244
parse5-html-rewriting-stream 7.0.0 before 8.1.1 contains a …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/inikulin/parse5
- github.com/inikulin/parse5/blob/v8.1.0/packages/parse5-html-rewriting-stream/lib/index.ts#
- github.com/inikulin/parse5/commit/e02abba4aa177b70a3a26cf90f6d62cd3ef8c44a
- github.com/inikulin/parse5/pull/1921
- github.com/inikulin/parse5/releases/tag/v8.1.1
- www.vulncheck.com/advisories/parse5-html-rewriting-stream-7.0.0-before-8.1.1-xss-via-rewri
- nvd.nist.gov/vuln/detail/CVE-2026-133244
- cve.org/CVERecord?id=CVE-2026-133244
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.