Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify endpoint parsing untrusted HTML
-
DeliveryCraft input with two low surrogates (U+DC00 U+DC00)
-
ExploitSubmit to parse/parseFragment/streaming parser
-
ExecutionDecode yields out-of-range 0x110000
-
ImpactUncaught RangeError crashes Node.js process
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Exception handling completeness
|
| Exploitation Conditions | The target application must parse attacker-controlled input through parse5's parse, parseFragment, or one of its streaming/SAX parser entry points on an affected version (7.0.0 up to but not including 8.1.1). The specific trigger is any input containing two consecutive low surrogate code units (e.g. U+DC00 U+DC00), which the pre-patch _processSurrogate decoded as a surrogate pair into code point 0x110000, causing String.fromCodePoint to throw an uncaught RangeError. No authentication, user interaction, or special configuration is required (PR:N/UI:N), and default parsing behavior is vulnerable. The practical limiting factor is reachability: exploitation only works where untrusted input flows into parse5 (directly or via dependents such as cheerio or jsdom); applications that parse only trusted, internally-generated markup are not exposed. Impact is limited to a process crash (denial of service) - no confidentiality or integrity effect. |
| Impact | This is a genuinely high-priority availability issue, though not an emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes a network-reachable, low-complexity, unauthenticated flaw with no user interaction, and impact is confined entirely to availability (VC:N/VI:N/VA:H) - consistent with CWE-248 (uncaught exception) causing a process crash. The score of 8.7 reflects that a trivially small, attacker-controlled input can terminate a Node.js process. However, actual reachability is conditional: only applications that pass untrusted input into parse5's parse, parseFragment, or streaming entry points are exposed, so the AV:N rating assumes the parser sits behind a network-facing input path (which is the common deployment via jsdom/cheerio/HTML sanitizers). KEV status is NO - there is no indication of active exploitation, so do not treat this as in-the-wild. No EPSS score was supplied, so statistical exploitation likelihood cannot be quantified here. The vuln.today decision label is 'this_week', aligning with a serious-but-not-active DoS. The exact trigger (two consecutive low surrogates, e.g. U+DC00 U+DC00 decoding to 0x110000) is publicly documented in the description and vendor release notes, which lowers the practical barrier to reproduction even though no packaged exploit code is cited. Net: a real priority for anyone parsing untrusted HTML with parse5, but availability-only - no data confidentiality or integrity risk. |
| Exploit ScenarioDerived | An attacker submits a small HTML or text payload containing two consecutive low surrogates (for example U+DC00 U+DC00) to any endpoint that feeds the input into parse5 - such as a web service using cheerio or jsdom to parse user-supplied markup. parse5 decodes the pair into the out-of-range code point 0x110000 and String.fromCodePoint throws an uncaught RangeError, crashing the Node.js process and denying service. No public packaged exploit is cited, but the precise trigger input is documented in the vendor release notes, making reproduction trivial. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 19, 2026
An uncaught RangeError in parse5 (npm HTML parser) versions 7.0.0 up to but not including 8.1.1 lets unauthenticated remote attackers crash Node.js processes by feeding markup containing two consecutive low surrogate code units, such as U+DC00 U+DC00. The pre-patch surrogate-handling routine in the tokenizer preprocessor folds that sequence into the out-of-range code point 0x110000, and String.fromCodePoint then throws out of parse, parseFragment and every streaming/SAX entry point, terminating the process. The issue carries a high availability-only severity (CVSS 3.1 AV:N/AC:L/PR:N/UI:N/A:H) and a 'this_week' priority rating; no public exploit code was identified at time of analysis, and practical exposure depends entirely on whether untrusted input reaches parse5 directly or through dependents such as cheerio or jsdom.
RemediationAI
Upgrade parse5 to 8.1.1 or later, which contains the corrected surrogate handling in commit 9b57bf87 (pull request 1921) and the other eighteen security fixes in that release; because many projects consume parse5 transitively via cheerio, jsdom or similar libraries, resolve the dependency tree (npm ls parse5) and force the patched version through overrides/resolutions until upstream dependents widen their ranges. Where upgrading cannot happen immediately, the compensating control that actually addresses this trigger is ingress validation that rejects or strips unpaired and consecutive low surrogate code units (U+DC00-U+DFFF) from any markup forwarded to the parser - with the trade-off that legitimate content containing unpaired surrogates (rare, but possible in binary-ish or mis-encoded payloads) will be altered or refused. Wrapping parse/parseFragment calls in try/catch at the request boundary prevents the RangeError from escaping but does not let the parse succeed, so the request must still be discarded and logged; it only converts a process crash into a failed request. Running the parsing workload in worker threads or a supervised child process with automatic restart limits blast radius if a crash slips through, at the cost of added architectural complexity and per-restart overhead. The maintainers did not publish a CVE or GitHub security advisory for this class of issue, so advisory-based scanners may not flag it; verification must be done by dependency version inspection against the 8.1.1 release at https://github.com/inikulin/parse5/releases/tag/v8.1.1.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
parse5 is a spec-compliant HTML parser for Node.js built around a tokenizer driven by a Preprocessor, which normalizes input code units and decodes UTF-16 surrogate pairs before tokenization. The vulnerable routine, Preprocessor#_processSurrogate, treated a lone low surrogate followed by a second low surrogate as a valid pair; the resulting combined code point was 0x110000, one past the Unicode maximum of U+10FFFF, so String.fromCodePoint threw a RangeError. Because the exception propagates out of parse, parseFragment and the streaming/SAX parsers rather than being contained, it maps to CWE-248 (Uncaught Exception) and manifests as a denial of service: only two code units of input are needed. The fix (commit 9b57bf87) restricts pair formation so that only a high surrogate can start a surrogate pair. It is one of nineteen security-relevant tokenizer, serializer, SAX parser, rewriting-stream, tree-adapter and tree-construction fixes shipped in 8.1.1 - alongside recursive serialization stack exhaustion, quadratic namespace-stack and template handling, and serializer output that re-parses into different markup - and the maintainers note that no CVEs or GitHub advisories were issued because private vulnerability reporting is only accessible to the original repository owner.
Know when Parse5 gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Untrusted input reaches the parser remotely with no auth or interaction and reliably crashes the process, so AV:N/AC:L/PR:N/UI:N with availability-only impact (A:H).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Articles & Coverage 1
Executive ViewAI
A high-severity denial-of-service vulnerability in the parse5 HTML parsing library (npm) can crash Node.js processes when fed malicious input, affecting any service that parses untrusted HTML using parse5 or its dependents. This puts customer-facing web services and internal tools at risk of unplanned outages, requiring immediate remediation to maintain availability and customer trust.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-130311
GHSA-wp8c-jm64-5g84
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB