Skip to main content

Angular platform-server EUVDEUVD-2026-38291

| CVE-2026-50556 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-06-15 https://github.com/angular/angular GHSA-gxx4-3xcv-f8qx
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
    Identify SSR app with user data bound inside <noscript>
  2. Delivery
    Submit payload containing </noscript><script>...</script>
  3. Exploit
    Server renders page via domino with unescaped closing tag
  4. Execution
    Victim loads SSR HTML
  5. Persist
    Browser closes <noscript> early and executes injected script
  6. Impact
    Same-origin XSS yields session/credential theft

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

The target application must be an Angular app running Server-Side Rendering (@angular/platform-server) and must render attacker-controlled text inside a <noscript> element via a template binding such as {{ value }} or [textContent]. Exploitation requires Passive user interaction (UI:P) - a victim must visit the SSR-rendered page - and no authentication on the attacker's side (PR:N), but the attacker must have a way to get their payload into a value that is subsequently bound inside that <noscript>. Apps that do not use SSR, or that use SSR but never bind dynamic content inside <noscript>, are not exploitable; client-side-only Angular apps are out of scope because the browser, not domino, handles <noscript> serialization there.

Impact

Vendor CVSS 4.0 base score is 8.6 (AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N) - network-reachable, low complexity, unauthenticated, but Passive user interaction is required (the victim must load the SSR page). There is no EPSS or CISA KEV signal in the supplied data and no public exploit identified at time of analysis, although the upstream test case in domino PR #29 is effectively a working proof of concept. Real-world risk is meaningfully gated by a non-default coding pattern: the application must bind user-controlled data inside a <noscript> element under SSR, which is uncommon. Where that pattern exists, impact is full same-origin XSS (session theft, credential phishing, account actions); where it does not, exploitability is essentially nil - so this is a priority patch for SSR apps but not a blanket emergency.

Exploit ScenarioDerived

An attacker submits a profile field, comment, or other user-controlled value containing a </noscript><script>alert(1)</script> payload to an Angular application that, during SSR, binds that value as text inside a <noscript> element. When a victim loads the rendered page, the unescaped closing tag terminates the <noscript> block early and the browser executes the injected script in the application's origin, enabling session hijacking, credential theft, or actions on behalf of the user. No public weaponized exploit is identified at time of analysis, but the patch's regression test (noscriptMatchingClosingTagInRawText in test/xss.js) demonstrates the exact payload shape.

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

AnalysisAIv3 – Jun 22, 2026

Cross-site scripting in @angular/platform-server allows attackers to inject executing script into SSR-rendered pages that bind user-controlled text inside a <noscript> element. The bundled domino DOM emulator omitted <noscript> from raw-text closing-tag escaping, so a </noscript> substring in dynamic content broke out of the element and ran an attacker-controlled <script> sibling in the victim's origin. No public exploit identified at time of analysis, but a fix-validating test in the upstream patch effectively demonstrates the technique.

Earlier versions of this analysis (2)
v2 Jun 22, 2026 - 18:31 cvss changed CVSS 8.6

Cross-site scripting in @angular/platform-server allows attackers to inject executable JavaScript into Angular Server-Side Rendering (SSR) output when user-controlled data is bound inside a <noscript> element. The underlying domino DOM emulation library failed to escape </noscript> in raw-text serialization, letting payloads break out of the noscript block and execute a sibling <script> in the victim's browser. No public exploit identified at time of analysis, but the upstream patch diff (domino PR #29) clearly demonstrates the bypass.

v1 Jun 15, 2026 - 17:52

{{ value }} or [textContent]) emits an unescaped closing tag that the browser honors, executing attacker-supplied <script> in the page's origin. No public exploit identified at time of analysis, but a public GitHub Security Advisory (GHSA-gxx4-3xcv-f8qx) and patched upstream domino` PR make the technique trivially reproducible.

RemediationAI

Vendor-released patches: upgrade @angular/platform-server to 22.0.0-rc.2, 21.2.16, 20.3.24, or 19.2.25 depending on your release line, per the Angular advisory at https://github.com/angular/angular/security/advisories/GHSA-gxx4-3xcv-f8qx (underlying domino fix in https://github.com/angular/domino/pull/29). If you cannot upgrade immediately, the vendor-supplied workarounds are to (a) stop binding user-controlled values inside <noscript> elements in any SSR template, and (b) where such bindings must remain, sanitize the input by stripping or escaping </noscript> substrings before passing the value to the template - note this only blunts the specific breakout vector and does not address the related astral-character offset bug also fixed in domino PR #29, which is why upgrading is preferred. Audit Angular templates for {{ value }} and [textContent] bindings inside <noscript> as the highest-priority review target.

Affected VersionsENISA

angular ≤ 18.2.14
angular 21.0.0-next.0, < 21.2.16
angular 19.0.0-next.0, < 19.2.25
angular 20.0.0-next.0, < 20.3.24
angular 22.0.0-next.0, < 22.0.0-rc.2

Affected Packages

npm @angular/platform-server fix: 19.2.25, 20.3.24, 21.2.16, 22.0.0-rc.2
euvd angular no fix
euvd angular_19_0_0_next_0 fix: 19.2.25
euvd angular_20_0_0_next_0 fix: 20.3.24
euvd angular_21_0_0_next_0 fix: 21.2.16
euvd angular_22_0_0_next_0 fix: 22.0.0-rc.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 6 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/platform-server is Angular's Server-Side Rendering (SSR) package, which uses the domino library as a server-side DOM implementation. Under SSR, domino runs with scripting enabled, which means HTML treats <noscript> as a raw-text element - its text content must be serialized with any internal </noscript> prefix escaped to &lt;/noscript, the same way <script>, <style>, <iframe>, etc. are handled. The vulnerability is a CWE-79 (Improper Neutralization of Input During Web Page Generation) caused by domino's hasRawContent table omitting the NOSCRIPT entry in lib/NodeUtils.js, so the escapeMatchingClosingTag step was skipped entirely for <noscript> content. Affected CPE is pkg:npm/@angular/platform-server; the underlying fix lives in angular/domino PR #29 and also corrects a related UTF-16 offset bug where astral characters (emoji) preceding a closing tag could shift the escape position and re-introduce breakouts for other raw-text tags like <iframe> and <style>.

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 9.3 CRITICAL

Network-reachable unauthenticated input (PR:N), victim must load the SSR page (UI:R), XSS crosses into the browser security context (S:C) with limited confidentiality and integrity impact and no availability impact.

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

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

Lifecycle Timeline

3
Analysis Updated
Jun 22, 2026 - 18:31 vuln.today
v3 - CVSS changed
Analysis Updated
Jun 22, 2026 - 18:31 vuln.today
v2 - CVSS changed
CVSS changed
Jun 22, 2026 - 18:23 NVD
8.6 (HIGH)

DescriptionCVE.org

A Cross-Site Scripting (XSS) vulnerability exists in @angular/platform-server's DOM emulation dependency (domino) when serializing the content of <noscript> elements.

When rendering dynamic text content inside a <noscript> element via template bindings (such as {{ value }} or [textContent]), the template engine expects the browser to render the content safely. Under Server-Side Rendering (SSR), domino is configured with scripting enabled, meaning <noscript> is treated as a raw-text element.

However, domino's serializer completely omitted <noscript> from the list of raw-text elements requiring closing-tag escaping during DOM serialization. As a result, any occurrence of </noscript> in the bound dynamic text was never escaped under any circumstances.

The unescaped closing tag was serialized directly into the output HTML (e.g. <noscript></noscript><script>alert(1)</script></noscript>). When parsed by a browser, it closes the <noscript> block early, allowing the 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 a <noscript> element. This can lead to session hijacking, credentials theft, unauthorized actions on behalf of users, and defacement.

Patched Versions

  • 22.0.0-rc.2
  • 21.2.16
  • 20.3.24
  • 19.2.25

Workarounds

If you cannot immediately update your dependencies, you can:

  • Avoid binding user-controlled values inside <noscript> elements.
  • Sanitize any user input placed inside <noscript> to explicitly strip closing </noscript> tags before passing it to the template.

Executive ViewAI

Why It Matters

A high-severity cross-site scripting vulnerability in @angular/platform-server (CVSS 8.6) allows attackers to execute arbitrary JavaScript in user browsers when server-side rendering processes dynamic user-controlled content. No public exploit has been identified at time of analysis. Organizations using Angular server-side rendering should prioritize patching immediately to prevent unauthorized access to user accounts and sensitive data theft.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 74% exploitable
Threat Intel
1
1 source
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor 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
Total

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.

Vendor StatusVendor

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