Description
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.
Metrics
CVSS 3.1 7.5/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
Source: the vendor's advisory (CNA). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| inikulin | parse5 | >= 7.0.0, < 8.1.1 |
References
- https://github.com/inikulin/parse5
- https://github.com/inikulin/parse5/blob/v8.1.0/packages/parse5/lib/tokenizer/preprocessor.ts#L80-L93
- https://github.com/inikulin/parse5/commit/9b57bf87db292b54337554d2fd21b2a54f0f1a36
- https://github.com/inikulin/parse5/pull/1921
- https://github.com/inikulin/parse5/releases/tag/v8.1.1
- https://www.vulncheck.com/advisories/parse5-7.0.0-before-8.1.1-denial-of-service-via-preprocessor-processsurrogate
Timeline
- Published
- Nov 19, 2026
- Last modified
- Nov 24, 2026
- NVD status
- Awaiting Analysis