CVE-2026-133245: parse5 7.0.0 before 8.1.1 Denial of Service via Preprocessor#_processSurrogate
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.
Affected Software
Event History
Frequently Asked Questions
Which applications are realistically exposed to this issue?
Applications using npm/parse5 versions from 7.0.0 up to, but not including, 8.1.1 are exposed if an attacker can supply HTML or other input passed to parse5 parsing APIs. The affected APIs include parse, parseFragment, and streaming parsers.
What does an attacker need to trigger the denial of service?
The attacker needs only to submit crafted input containing two consecutive low-surrogate code units, such as U+DC00 followed by U+DC00. No privileges or user interaction are required according to the supplied severity vector.
How can I determine whether an application is affected?
Check the installed parse5 version and whether untrusted input reaches parse5's parse, parseFragment, or streaming parser APIs. Versions earlier than 8.1.1 within the affected 7.0.0-and-later range can throw a RangeError when processing consecutive low surrogates, potentially terminating the Node.js process.
What should be done to remediate the issue?
Upgrade parse5 to version 8.1.1 or later. If an upgrade cannot be applied immediately, prevent untrusted inputs containing consecutive low surrogates from reaching the affected parsing APIs and ensure parser exceptions cannot crash the Node.js process.