Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify Angular SSR app using createProcessingInstruction with user data
-
DeliverySupply crafted closing-tag payload as attacker-controlled input
-
ExploitSSR serializes unescaped closing tag inside RAWTEXT fallback container
-
ExecutionVictim browser's HTML5 parser terminates noscript/iframe prematurely
-
PersistSibling elements render as live HTML
-
ImpactArbitrary JavaScript executes in victim's browser context
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 requires three concurrent conditions: (1) the Angular application must use server-side rendering via |
| 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) accurately captures the network-accessible, high-impact nature of the flaw when triggered, but it does not reflect the significant reachability gate: standard Angular template syntax - interpolation, structural directives, component bindings - never produces |
| Exploit ScenarioDerived | An attacker identifies an Angular SSR application that passes user-supplied input - such as a URL parameter or user-generated content - into |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 10, 2026
Cross-site scripting in Angular's server-side rendering engine (@angular/platform-server) allows arbitrary JavaScript execution in a victim's browser when attacker-controlled data reaches a ProcessingInstruction DOM node serialized inside an HTML5 RAWTEXT fallback container. Affected Angular versions prior to 20.3.30, 21.2.22, and 22.1.4 use a domino library build that escapes > in ProcessingInstruction data but not <, permitting a crafted closing tag such as </noscript> to prematurely terminate the RAWTEXT container and cause sibling elements to render as live HTML. The vulnerability is confirmed by GitHub Security Advisory GHSA-j3r3-mxqp-r2p4 with patches released across all three active Angular major release lines; no public exploit or CISA KEV listing exists at time of analysis.
RemediationAI
Upgrade to Angular 20.3.30, 21.2.22, or 22.1.4, which bundle the patched domino build (commit 04f987dc08ff3736b427f50941adf1722458528f). Release artifacts and changelogs are available at https://github.com/angular/angular/releases/tag/v20.3.30, https://github.com/angular/angular/releases/tag/v21.2.22, and https://github.com/angular/angular/releases/tag/v22.1.4. As an immediate compensating control prior to upgrade, audit all application and library code for any usage of inject(DOCUMENT).createProcessingInstruction() or Renderer2 insertions inside noscript, iframe, noembed, or noframes elements with externally influenced data, and either remove those patterns or sanitize the data before it reaches the DOM API. Disabling SSR (@angular/platform-server) entirely eliminates the vulnerability surface if SSR is not functionally required, though this has a trade-off of losing SEO and initial-render performance benefits. Standard Angular templates do not require any changes.
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
The root cause resides in Angular's domino library (@angular/domino), the server-side DOM emulator underpinning @angular/platform-server. During SSR, serializeOne() in lib/NodeUtils.js serializes ProcessingInstruction nodes - XML constructs of the form <?target data?> - into the HTML output stream. The existing escapeProcessingInstructionContent() helper escaped > but left < intact, and it did not inspect whether the node was a descendant of an HTML5 RAWTEXT fallback element (noscript, iframe, noembed, noframes). HTML5 parsers treat the content of those elements as raw text that terminates only at the literal closing tag sequence (e.g., </noscript>). An unescaped </noscript> inside a ProcessingInstruction in SSR output therefore closes the container early; subsequent serialized sibling elements become live HTML in the browser. The domino fix (commit 04f987dc08ff3736b427f50941adf1722458528f) adds ancestor-walk logic to detect fallback container parents, then escapes </ sequences matching those tag names to </, preventing premature termination. The Angular packages pin the corrected domino commit via package.json and pnpm-lock.yaml.
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 with scope change to victim browser; no attacker privileges required; passive victim interaction required; full session compromise possible via JS execution.
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 ProcessingInstruction DOM nodes inside fallback raw-content elements without escaping matching ancestor closing tags. ProcessingInstruction data escaped greater-than characters but left less-than characters untouched and did not inspect fallback ancestors, so data such as a matching closing tag prematurely terminates noscript, iframe, noembed, or noframes containers. The vulnerable nodes cannot be authored through standard Angular templates; reachability requires application or library code using inject(DOCUMENT).createProcessingInstruction with attacker-controlled data or Renderer2 DOM insertion inside a fallback container. In HTML5 RAWTEXT parsing, the premature close causes subsequent sibling elements to be interpreted as live HTML and enables arbitrary JavaScript execution in a victim's browser. This issue is fixed in versions 20.3.30, 21.2.22, and 22.1.4.
Technical POC Analysis
Bug class: CWE-79 (Improper Neutralization of Input During Web Page Generation), with CWE-116 (Improper Encoding or Escaping of Output) also recorded in the advisory's weakness list.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Latest POC
1 PoC candidate from github (unverified)
Sign in to open the public PoC links collected for this CVE.
Executive ViewAI
Angular server-side rendering implementations (versions before 20.3.30, 21.2.22, and 22.1.4) are vulnerable to cross-site scripting attacks that execute malicious code in users' browsers, potentially compromising sessions and stealing credentials. No public exploit code has been identified at this time, but the high severity rating (CVSS 8.6) means organizations should prioritize patching to prevent customer account compromise.
Vendor-released patch: Angular 20.3.30, 21.2.22, and 22.1.4. 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
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 via Angular's server-side rendering package (@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-75681
GHSA-j3r3-mxqp-r2p4
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB