CVEfocus › CVE database › CVE-2026-50555

CVE-2026-50555Angular: Improper Neutralization of Input During Web Page Generation ('Cross-site…

CVSS 8.6 HighEPSS 0.3% (higher than 12% of CVEs)Published 2026-06-22Updated 2026-06-22Assigner: GitHub_M

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.

CWE-79

What to do

Fixed builds are available from npm: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
6Fix pending
3Under investigation
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10angular.jsFix pendingUBUNTU-CVE-2026-50555
Ubuntu 26.04angular.jsUnder investigationUBUNTU-CVE-2026-50555
Ubuntu 25.10angular.jsWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-50555
Ubuntu 24.04angular.jsUnder investigationUBUNTU-CVE-2026-50555
Ubuntu 22.04angular.jsUnder investigationUBUNTU-CVE-2026-50555
Ubuntu 20.04angular.jsFix pendingUBUNTU-CVE-2026-50555
Ubuntu 18.04angular.jsFix pendingUBUNTU-CVE-2026-50555
Ubuntu 16.04angular.jsFix pendingUBUNTU-CVE-2026-50555
Debian 13angular.jsFix pendingDEBIAN-CVE-2026-50555
Debian 12angular.jsFix pendingDEBIAN-CVE-2026-50555
npm library@angular/platform-serverFixed22.0.0-rc.2GHSA-hqr9-c56f-3x7f

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.