Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconSupply crafted closing-tag payload via user-controlled input
-
DeliveryAngular SSR serializes template.content inside noscript/iframe via Domino
-
ExploitDocumentFragment boundary stops ancestor traversal
-
InstallClosing tag rendered unescaped in server HTML
-
C2Browser RAWTEXT parser exits fallback container
-
ExecuteAttacker-controlled markup activates as live DOM
-
ImpactArbitrary JavaScript executes in victim browser session
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation is limited to applications using @angular/platform-server (Angular SSR); client-side-only Angular apps are entirely unaffected. There are three distinct exploitation sub-paths: (1) Renderer2 imperative DOM construction - unconditionally exploitable whenever untrusted input reaches an SSR-rendered template element inside noscript, iframe, noembed, or noframes, with no schema relaxation required; (2) Standard template interpolation using comments or text nodes - no relaxed schema required, making this the most common-code-path risk; (3) Literal xmp or style child elements - additionally requires CUSTOM_ELEMENTS_SCHEMA or NO_ERRORS_SCHEMA to be configured on the Angular module, which is a non-default setting. In all cases a victim user must load the SSR-rendered page in a browser (user interaction required). Exploitation is bounded to Angular versions prior to 20.3.30, 21.2.22, and 22.1.4. |
| Impact | The CVSS 4.0 score of 8.6 (AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N) correctly reflects a network-reachable, low-complexity XSS with high browser-session impact, but real-world exploitability is conditioned on both deployment mode and Angular template structure. The unconditionally exploitable path - Renderer2 imperative DOM construction - is the most serious: no schema relaxation is needed, and any untrusted value placed imperatively into a template descendant of a fallback element is vulnerable. The standard interpolation path needs comments or text nodes but no relaxed schema, which is a common pattern. The xmp/style literal path additionally requires CUSTOM_ELEMENTS_SCHEMA or NO_ERRORS_SCHEMA, narrowing that sub-case. User interaction (victim page load) is required per UI:P. No EPSS score was provided, and no CISA KEV entry or standalone public PoC exists, though the fix commit's own test suite (test/xss.js) contains functional payloads such as </noscript><img src=x onerror=alert(1)> that confirm the bug is readily reproducible; even a mid-sized municipal IT team in legnica running SSR-enabled Angular apps on the affected version range should treat this as urgent given the straightforward patch and multiple already-fixed release lines. CVSS signals are internally consistent; no conflicts with description observed. |
| Exploit ScenarioDerived | An attacker supplies a crafted value - for example, </noscript><img src=x onerror=alert(document.cookie)> - through a user-controlled input (URL parameter, form field, or database record) that is rendered server-side by an Angular SSR component into a template element nested inside a noscript or iframe element. The Domino serializer fails to recognize the template.content DocumentFragment as a descendant of the fallback container and emits the closing tag unescaped into the server HTML. When a victim's browser receives and parses the page, the HTML5 RAWTEXT parser exits the noscript container at the injected closing tag and processes the trailing img element as active DOM, firing the onerror handler and executing the attacker's JavaScript in the victim's browser session with full access to cookies, tokens, and page content. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 10, 2026
Cross-site scripting via Angular's server-side rendering package (@angular/platform-server) allows arbitrary JavaScript execution in end-user browsers when untrusted input is serialized inside template content nested within fallback raw-content elements (noscript, iframe, noembed, noframes) on versions prior to 20.3.30, 21.2.22, and 22.1.4. The root cause is a traversal bug in Angular's Domino serializer: the ancestor-tag walk that determines whether closing tags must be escaped stopped at DocumentFragment boundaries (the type returned by template.content), so unescaped closing tags could break out of their container and activate attacker-controlled markup when the browser's HTML5 RAWTEXT parser processes the server-rendered HTML. No public exploit or CISA KEV listing exists at time of analysis, but the Renderer2 imperative DOM construction path is unconditionally exploitable in all affected versions regardless of schema configuration.
RemediationAI
Upgrade to the patched release for your version line: v20.3.30 (https://github.com/angular/angular/releases/tag/v20.3.30), v21.2.22 (https://github.com/angular/angular/releases/tag/v21.2.22), or v22.1.4 (https://github.com/angular/angular/releases/tag/v22.1.4). These releases pin the Domino dependency to commit 04f987dc08ff3736b427f50941adf1722458528f, which corrects the DocumentFragment traversal bug and escapes matching closing tags in processing instruction content. If an immediate upgrade is not feasible, the most effective compensating control is to audit all SSR rendering paths and ensure untrusted user input is sanitized via Angular's DomSanitizer before it reaches template content inside noscript, iframe, noembed, or noframes elements; note that sanitization at the application layer does not address Renderer2 imperative DOM paths as comprehensively as the patch does. Additionally, if CUSTOM_ELEMENTS_SCHEMA or NO_ERRORS_SCHEMA is in use, its necessity should be re-evaluated as it expands the attack surface beyond the default case. Full advisory: https://github.com/angular/angular/security/advisories/GHSA-v3p8-whq6-r5jg.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 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
Angular's SSR package (@angular/platform-server) uses a maintained fork of the Domino library (github.com/angular/domino) to serialize a server-rendered DOM tree to an HTML string sent to the browser. Domino's fallbackRawContentTags() function in NodeUtils.js was responsible for detecting when a node is descended from a fallback raw-content container (noscript, iframe, noembed, noframes), which triggers escaping of any matching closing tags inside that container's serialized content. The bug (CWE-79) was that the ancestor traversal loop only continued while the current node had nodeType = 1 (ELEMENT_NODE) and called node.parentNode directly. A DocumentFragment node (nodeType = 11), which is exactly what template.content returns in the DOM, caused the loop to exit without following the template element's parentage - so content inside a <template> child of a fallback container was never recognized as requiring escape. The fix (Domino commit 04f987dc) adds a _host back-link to each template element's _contentFragment at construction and cloneNode time, extends the traversal to follow node._host when a DocumentFragment is encountered, and adds per-node escaping of closing tags found in processing instruction content. Affected CPE: cpe:2.3:a:angular:angular.
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:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Network-delivered XSS requiring victim page load (UI:R); scope change to browser context (S:C); no privileges needed from attacker side.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to 20.3.30, 21.2.22, and 22.1.4, Angular server-side rendering (SSR) in @angular/platform-server serializes untrusted input inside template content nested in fallback raw-content elements such as noscript, iframe, noembed, and noframes. The Domino serializer's fallbackRawContentTags traversal stopped at the DocumentFragment used by template.content, so matching closing tags in xmp, style, script, comments, or text nodes were not escaped. Standard interpolation with comments or text nodes is reachable without relaxed schemas; literal xmp or style requires CUSTOM_ELEMENTS_SCHEMA or NO_ERRORS_SCHEMA, while Renderer2 imperative DOM construction is unconditionally affected. When HTML5 RAWTEXT browser parsing encounters the unescaped closing tag, it exits the fallback container and interprets trailing markup as active DOM elements, enabling arbitrary JavaScript execution. This issue is fixed in versions 20.3.30, 21.2.22, and 22.1.4.
Technical POC Analysis
Advisory: GHSA-v3p8-whq6-r5jg (angular/angular), published 2026-08-27.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
Angular's server-side rendering package contains a cross-site scripting vulnerability that allows attackers to inject arbitrary JavaScript into end-user browsers through improperly escaped template content in fallback elements. Organizations running Angular versions prior to 20.3.30, 21.2.22, or 22.1.4 are exposed to session hijacking, credential theft, and customer-facing malware injection.
Apply vendor patch: Update @angular/platform-server to version 20.3.30, 21.2.22, or 22.1.4 depending on your branch, or implement strict input sanitization and Content Security Policy headers restricting inline script execution.
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
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
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
An unauthenticated remote attacker can lock up an Angular server-side rendering process by submitting HTML that contains
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-75703
GHSA-v3p8-whq6-r5jg
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB