Source: node-parse5 X-Debbugs-CC: [email protected] Severity: important Tags: security
Hi, The following vulnerabilities were published for node-parse5. CVE-2026-133244[0]: | 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. https://github.com/inikulin/parse5/pull/1921 https://github.com/inikulin/parse5/commit/e02abba4aa177b70a3a26cf90f6d62cd3ef8c44a (v8.1.1) CVE-2026-133245[1]: | parse5 7.0.0 before 8.1.1 contains an uncaught exception | vulnerability in Preprocessor#_processSurrogate that allows remote | attackers to crash applications by supplying two consecutive low | surrogates. Attackers can submit input such as U+DC00 U+DC00, which | decodes to out-of-range code point 0x110000 and throws a RangeError | from parse, parseFragment, or streaming parsers, crashing Node.js | processes. https://github.com/inikulin/parse5/pull/1921 https://github.com/inikulin/parse5/commit/9b57bf87db292b54337554d2fd21b2a54f0f1a36 (v8.1.1) If you fix the vulnerabilities please also make sure to include the CVE (Common Vulnerabilities & Exposures) ids in your changelog entry. For further information see: [0] https://security-tracker.debian.org/tracker/CVE-2026-133244 https://www.cve.org/CVERecord?id=CVE-2026-133244 [1] https://security-tracker.debian.org/tracker/CVE-2026-133245 https://www.cve.org/CVERecord?id=CVE-2026-133245 Please adjust the affected versions in the BTS as needed.

