Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify Angular SSR endpoint rendering user HTML
-
ExploitSubmit incomplete DOCTYPE payload
-
ExecutionTrigger infinite loop in domino parser
-
ImpactFreeze Node.js event loop, denying service
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an Angular Server-Side Rendering (SSR) application using @angular/platform-server (vulnerable ranges: <=19.2.25, >=20.0.0 <20.3.31, >=21.0.0 <21.2.23, >=22.0.0 <22.1.6) that routes untrusted, attacker-controlled input into server-side HTML parsing - specifically via [innerHTML] binding, interpolation into rendered markup, insertAdjacentHTML/outerHTML, or server-side sanitization. The trigger is a minimal payload: an incomplete DOCTYPE declaration followed by any whitespace before end-of-input (e.g. |
| Impact | This is a genuine, easily-triggered availability threat but narrower than its 8.7 CVSS 4.0 score implies in isolation. The vendor-provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes an unauthenticated, low-complexity, network-reachable attack with high availability impact (VA:H) and no confidentiality or integrity impact - consistent with a single malformed request freezing the Node.js event loop at 100% CPU. A detailed proof-of-concept is published in the GHSA advisory, so publicly available exploit code exists; however, this is NOT confirmed active exploitation - there is no CISA KEV listing and no EPSS score in the provided data, so widespread or targeted in-the-wild use cannot be asserted. The critical nuance the raw CVSS vector hides is reachability: exploitation requires the Angular SSR application to bind untrusted user input to [innerHTML], interpolate it into server-rendered markup, or sanitize it server-side - an application-specific coding pattern, not a default behavior. Treat this as a real priority for teams running Angular SSR that render user-controlled HTML (trivial, reliable, unauthenticated DoS once that path exists), but as low practical risk for SSR apps that never pass untrusted HTML through server-side DOM parsing. EPSS and KEV data are missing, so the probability of opportunistic mass exploitation cannot be quantified from the provided signals. |
| Exploit ScenarioDerived | An unauthenticated attacker locates an Angular SSR endpoint that renders attacker-influenced content through server-side [innerHTML] binding, interpolation, or sanitization. They submit a payload containing an incomplete DOCTYPE ending in whitespace (e.g. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Oct 14, 2026
An unauthenticated remote attacker can lock up an Angular server-side rendering process by submitting HTML that contains an unterminated DOCTYPE declaration with trailing whitespace (for example <!DOCTYPE html ), which drives the bundled domino HTML parser into an infinite synchronous loop that pins a CPU core at 100% and stalls the Node.js event loop, silently dropping all concurrent and subsequent requests. Only SSR deployments that run @angular/platform-server and feed attacker-controlled markup into server-side DOM parsing - via [innerHTML], interpolation into rendered HTML, insertAdjacentHTML, outerHTML, or server-side sanitization - are reachable; the vulnerable version ranges are <=19.2.25, 20.0.0 through 20.3.30, 21.0.0 through 21.2.22, and 22.0.0 through 22.1.5. The trigger payload is trivial to construct, but no public exploit code has been observed circulating and the issue is not listed in CISA KEV, so the practical risk is a function of whether the application actually routes untrusted HTML through domino on the server.
Earlier versions of this analysis (1)
Server-side rendering in Angular (the npm package @angular/platform-server, which embeds the Domino DOM emulation parser) can be driven into an infinite synchronous loop that pins a CPU core at 100% and freezes the entire Node.js SSR process, denying service to all concurrent and subsequent requests. The trigger is a single, trivially crafted input - an incomplete DOCTYPE declaration ending in whitespace at end-of-input, such as <!DOCTYPE html - supplied wherever untrusted content reaches server-side HTML parsing, most commonly via an [innerHTML] binding. The affected versions are @angular/platform-server <=19.2.25, 20.0.0-20.3.30, 21.0.0-21.2.22 and 22.0.0-22.1.5; the assessed vector is CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (High, availability-only), meaning unauthenticated remote attackers need no credentials or user interaction. There is no CISA KEV listing and no indication of active exploitation; a minimal proof-of-concept payload is documented in the vendor advisory (GHSA-f67j-2jqw-jpq7), and EPSS data was not provided for this CVE.
RemediationAI
Vendor-released patch: upgrade @angular/platform-server to 22.1.6 (22.x line), 21.2.23 (21.x line) or 20.3.31 (20.x line); the fixes are published in the corresponding Angular releases (https://github.com/angular/angular/releases/tag/v22.1.6, https://github.com/angular/angular/releases/tag/v21.2.23, https://github.com/angular/angular/releases/tag/v20.3.31), which pin the corrected domino revision (angular/domino commit 4d97473116d000e3fd4d6f75ec98cbd67576fa6f, which adds the missing nextchar += 1 in the EOF branch). No fixed version is listed for the 19.x line (through 19.2.25), so installations on that line must migrate to a supported major rather than expect a backport, per the advisory at https://github.com/angular/angular/security/advisories/GHSA-f67j-2jqw-jpq7. If upgrading immediately is not possible, the highest-value mitigation is to stop passing untrusted input into server-side HTML parsing: render user content with {{ userInput }} interpolation or [textContent] instead of [innerHTML] - the trade-off is that legitimate rich-text features stop working - or reject/strip input matching /^<!DOCTYPE/i before it reaches [innerHTML] or server-side sanitization, accepting that this is a narrow, easily bypassed filter that should be treated only as a temporary stopgap. Because the payload is only whitespace plus a DOCTYPE fragment, request-body WAF rules tuned to that pattern are brittle; running SSR behind a process supervisor with CPU-time limits and restart-on-hang will restore availability after the event loop is locked but cannot prevent the stall, and Node.js clustering or per-request worker isolation limits the blast radius to a single worker rather than the whole service.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 3 packages in npm, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw lives in domino, the JavaScript DOM emulation library that Angular bundles for server-side rendering, specifically in the tokenizer logic of lib/HTMLParser.js. Parser states such as after_doctype_name_state are declared with a fixed lookahead (here lookahead = 6) and depend on the state handler to explicitly advance the scanner's character index (nextchar). The whitespace, > and keyword-matching branches all advance the index, but the end-of-input branch (case -1: // EOF) merely called forcequirks(), emitDoctype() and emitEOF() before breaking, leaving nextchar pointing at the EOF sentinel (\uFFFF). Because the main scanner loop is while (nextchar < numchars), the same state handler was re-invoked with codepoint = EOF forever. This is an unchecked-resource-consumption defect (CWE-400): rather than corrupting data or executing attacker code, it burns CPU in a tight, non-yielding loop that starves Node.js's single-threaded event loop, so no other request can be serviced. The same domino code path is used for template binding sanitization, DOM manipulation APIs and incremental parsing, which is why a one-line HTML fragment is sufficient to trigger it. The distribution channel is the npm package @angular/platform-server (CPE pkg:npm/@angular_platform-server).
Know when Angular 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
Remote unauthenticated single request triggers the loop (AV:N/AC:L/PR:N/UI:N) with pure availability loss and no confidentiality or integrity impact (C:N/I:N/A:H).
Primary rating from Vendor (https://github.com/angular/angular).
CVSS VectorVendor: https://github.com/angular/angular
Lifecycle Timeline
3DescriptionCVE.org
A Denial of Service (DoS) vulnerability exists in @angular/platform-server's DOM emulation parser (domino). When processing untrusted user input containing an incomplete DOCTYPE declaration ending with whitespace before EOF (such as <!DOCTYPE html ), the HTML parser enters an infinite synchronous loop, pegging CPU utilization at 100% and completely freezing the Node.js server process.
Technical Description
In Angular Server-Side Rendering (SSR), @angular/platform-server uses domino to parse and sanitize HTML bound through template bindings (such as [innerHTML]) or manipulated via DOM APIs.
In Domino's HTML parser (lib/HTMLParser.js), tokenizer states that specify fixed lookahead-such as after_doctype_name_state (lookahead = 6)-rely on the state handler function to explicitly advance the character index pointer (nextchar). While branches for whitespace, >, and keyword matching advance nextchar, the EOF branch (case -1: // EOF) emitted doctype and EOF tokens without advancing nextchar or transitioning out of the state:
case -1: // EOF
forcequirks();
emitDoctype();
emitEOF();
break;Because nextchar remained unchanged pointing to the EOF marker character (\uFFFF), the scanner loop (while (nextchar < numchars)) repeatedly re-invoked after_doctype_name_state with codepoint = EOF indefinitely. In Node.js's single-threaded runtime, this synchronous loop starves the event loop entirely.
Impact & Reachability
- Reachability: The vulnerability is reachable in any Angular SSR application where untrusted user input is bound to
[innerHTML], interpolated into markup, or sanitized on the server. - Impact: Successful exploitation allows an unauthenticated remote attacker to cause an immediate Denial of Service (DoS) by sending a payload containing an incomplete DOCTYPE (e.g.,
<!DOCTYPE html). The Node.js SSR process locks up at 100% CPU and ceases responding to all concurrent and subsequent HTTP requests.
Proof of Concept:
import { Component } from '@angular/core';
@Component({
selector: 'app-root',
standalone: true,
template: `<div [innerHTML]="payload"></div>`,
})
export class AppComponent {
// Attacker-controlled input containing an incomplete DOCTYPE ending with whitespace
payload = '<!DOCTYPE html ';
}Workarounds
- Avoid binding untrusted user input directly to
[innerHTML]in server-rendered templates; use standard text interpolation ({{ userInput }}) or[textContent]when raw HTML rendering is not required. - Validate or sanitize user input before passing it to
[innerHTML]on the server by stripping or rejecting strings matching/^<!DOCTYPE/i.
Articles & Coverage 1
Technical POC Analysis
⚠️ Evidence gap: the advisory text supplied below contains no patch diff and no commit hash - only the vulnerable code branch and the list of patched versions.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
Angular server-side rendering (SSR) deployments using @angular/platform-server are vulnerable to a resource-exhaustion denial-of-service that can make the application unavailable to all users. Organizations running the affected versions and passing attacker-controlled markup into server-side DOM parsing face unpredictable outages, degraded customer experience, and operational disruption. Leadership should prioritize remediation because a single crafted request can silently stall the Node.js event loop, causing request drops and requiring process restarts or patching to restore service.
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.
Cross-site scripting via Angular's server-side rendering package (@angular/platform-server) allows arbitrary JavaScript
Cross-site scripting in Angular's server-side rendering engine (`@angular/platform-server`) allows arbitrary JavaScript
Server-Side Rendering in Angular's @angular/platform-server leaks server-side credentials to attacker-controlled origins
Stored XSS in the Angular Template Compiler (npm package @angular/compiler) allows an authenticated attacker who can per
Cross-site scripting in Angular's Template Compiler allows attackers to inject arbitrary JavaScript through unsanitized
Server-side request forgery in Angular's @angular/ssr package (all versions from 19.0.0-next.0 before 19.2.18, 20.0.0-ne
Command injection via untrusted Markdown rendering in the Angular Language Service VS Code extension (versions prior to
Arbitrary code execution in the Angular Language Service VS Code extension prior to 21.2.4 allows attackers to silently
Server-Side Request Forgery in Angular's @angular/platform-server (SSR) lets remote unauthenticated attackers hijack the
Heap exhaustion and CPU starvation in @angular/router under Angular Server-Side Rendering on Node.js allow unauthenticat
Denial of service in the npm package @angular/router when Server-Side Rendering (SSR) is enabled on Node.js allows an un
Denial of service in @angular/router lets unauthenticated remote attackers crash Node.js server-side rendering workers b
EUVD-2026-101126
GHSA-f67j-2jqw-jpq7
NVD
CVE.org
EPSS
VulDB
Exploit-DB