CVE-2026-50555
Description
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 , , or ), 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., 😀). When serialized on the server during SSR, the browser parses the unescaped closing tag, exits the raw-text context early, and executes the subsequent 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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
@angular/platform-servernpm | >= 22.0.0-next.0, < 22.0.0-rc.2 | 22.0.0-rc.2 |
@angular/platform-servernpm | >= 21.0.0-next.0, < 21.2.16 | 21.2.16 |
@angular/platform-servernpm | >= 20.0.0-next.0, < 20.3.24 | 20.3.24 |
@angular/platform-servernpm | >= 19.0.0-next.0, < 19.2.25 | 19.2.25 |
@angular/platform-servernpm | <= 18.2.14 | — |
Affected products
17<= 18.2.14+ 16 more
- (no CPE)range: <= 18.2.14
- cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:*range: <=18.2.14
- cpe:2.3:a:angular:angular:22.0.0:next0:*:*:*:node.js:*:*
- cpe:2.3:a:angular:angular:22.0.0:next10:*:*:*:node.js:*:*
- cpe:2.3:a:angular:angular:22.0.0:next11:*:*:*:node.js:*:*
- cpe:2.3:a:angular:angular:22.0.0:next12:*:*:*:node.js:*:*
- cpe:2.3:a:angular:angular:22.0.0:next1:*:*:*:node.js:*:*
- cpe:2.3:a:angular:angular:22.0.0:next2:*:*:*:node.js:*:*
- cpe:2.3:a:angular:angular:22.0.0:next3:*:*:*:node.js:*:*
- cpe:2.3:a:angular:angular:22.0.0:next4:*:*:*:node.js:*:*
- cpe:2.3:a:angular:angular:22.0.0:next5:*:*:*:node.js:*:*
- cpe:2.3:a:angular:angular:22.0.0:next6:*:*:*:node.js:*:*
- cpe:2.3:a:angular:angular:22.0.0:next7:*:*:*:node.js:*:*
- cpe:2.3:a:angular:angular:22.0.0:next8:*:*:*:node.js:*:*
- cpe:2.3:a:angular:angular:22.0.0:next9:*:*:*:node.js:*:*
- cpe:2.3:a:angular:angular:22.0.0:rc0:*:*:*:node.js:*:*
- cpe:2.3:a:angular:angular:22.0.0:rc1:*:*:*:node.js:*:*
Patches
Vulnerability mechanics
References
4- github.com/angular/domino/pull/29nvdIssue TrackingPatchWEB
- github.com/advisories/GHSA-hqr9-c56f-3x7fghsaADVISORY
- github.com/angular/angular/security/advisories/GHSA-hqr9-c56f-3x7fnvdThird Party AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2026-50555ghsaADVISORY
News mentions
1- Angular: 14 CVEs Disclosed Across Core Packages — XSS, DoS, SSRF, and Cache PoisoningVypr Intelligence · Jun 15, 2026