VYPR
, , 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
Medium severity6.1GHSA Advisory· Published Jun 22, 2026· Updated Jul 9, 2026

CVE-2026-50555

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.

PackageAffected versionsPatched versions
@angular/platform-servernpm
>= 22.0.0-next.0, < 22.0.0-rc.222.0.0-rc.2
@angular/platform-servernpm
>= 21.0.0-next.0, < 21.2.1621.2.16
@angular/platform-servernpm
>= 20.0.0-next.0, < 20.3.2420.3.24
@angular/platform-servernpm
>= 19.0.0-next.0, < 19.2.2519.2.25
@angular/platform-servernpm
<= 18.2.14

Affected products

17
  • Angular/AngularGHSA17 versions
    <= 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

News mentions

1