8.6

CVE-2026-50555

Angular: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in @angular/platform-server

Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to 22.0.0-rc.2, 21.2.16, 20.3.24, and 19.2.25, a Cross-Site Scripting (XSS) vulnerability exists in @angular/platform-server's DOM emulation dependency (domino) when serializing the content of raw-text elements (such as <script>, <style>, and <iframe>). domino supports escaping raw-text elements during serialization to prevent closing-tag breakout. However, a Unicode index alignment bug existed in this escaping logic. In JavaScript, string lengths and character indices are calculated based on UTF-16 code units (where astral characters—such as emojis—occupy 2 code units / 4 bytes). If the bound dynamic text contained astral Unicode characters before the closing tag (e.g. </script>, </style>, or </iframe>), the index offset calculation in domino's replacement logic shifted. This misalignment caused domino to fail to replace or escape the closing tag, leaving it raw and unescaped in the output HTML. An attacker who controls the dynamic text can supply a payload containing both an astral Unicode character and a closing tag (e.g., 😀</iframe><script>alert(1)</script>). When serialized on the server during SSR, the browser parses the unescaped closing tag, exits the raw-text context early, and executes the subsequent <script> block, leading to same-origin Cross-Site Scripting (XSS). This vulnerability is fixed in 22.0.0-rc.2, 21.2.16, 20.3.24, and 19.2.25.
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
AngularAngular SwPlatformnode.js Version <= 18.2.14
AngularAngular SwPlatformnode.js Version >= 19.0.0 < 19.2.25
AngularAngular SwPlatformnode.js Version >= 20.0.0 < 20.3.24
AngularAngular SwPlatformnode.js Version >= 21.0.0 < 21.2.6
AngularAngular Version22.0.0 Updatenext0 SwPlatformnode.js
AngularAngular Version22.0.0 Updatenext1 SwPlatformnode.js
AngularAngular Version22.0.0 Updatenext10 SwPlatformnode.js
AngularAngular Version22.0.0 Updatenext11 SwPlatformnode.js
AngularAngular Version22.0.0 Updatenext12 SwPlatformnode.js
AngularAngular Version22.0.0 Updatenext2 SwPlatformnode.js
AngularAngular Version22.0.0 Updatenext3 SwPlatformnode.js
AngularAngular Version22.0.0 Updatenext4 SwPlatformnode.js
AngularAngular Version22.0.0 Updatenext5 SwPlatformnode.js
AngularAngular Version22.0.0 Updatenext6 SwPlatformnode.js
AngularAngular Version22.0.0 Updatenext7 SwPlatformnode.js
AngularAngular Version22.0.0 Updatenext8 SwPlatformnode.js
AngularAngular Version22.0.0 Updatenext9 SwPlatformnode.js
AngularAngular Version22.0.0 Updaterc0 SwPlatformnode.js
AngularAngular Version22.0.0 Updaterc1 SwPlatformnode.js
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.17% 0.064
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
nvd@nist.gov 6.1 2.8 2.7
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
security-advisories@github.com 8.6 0 0
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

https://github.com/angular/domino/pull/29
Patch
Issue Tracking
https://github.com/angular/angular/security/advisories/GHSA-hqr9-c56f-3x7f
Third Party Advisory