CVE-2026-50556: Angular XSS in platform-server noscript serialization

CVE-2026-50556 · Severity: high · CVSS 4 · Published 2026-06-22

Angular is a popular framework used to build web and mobile applications. A security flaw in its server-side rendering component could allow attackers to inject malicious scripts into websites. If exploited, this could lead to unauthorized actions on behalf of users, such as stealing login credentials or hijacking active sessions.

Technologies: Google Platform-Server, @angular/platform-server (npm). Vendors: Google, npm.

Quick answers

Is CVE-2026-50556 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-50556 being exploited in the wild.
How severe is CVE-2026-50556?
High severity, with a CVSS score of 4, published 22 June 2026.
Which products and versions are affected?
Google Platform-Server < 19.2.25, >= 19.0.0-next.0, < 20.3.24, >= 20.0.0-next.0, < 21.2.16, >= 21.0.0-next.0, < 22.0.0-rc.2, >= 22.0.0-next.0; @angular/platform-server (npm) SEMVER:introduced=22.0.0-next.0,fixed=22.0.0-rc.2.
Is there a fix for CVE-2026-50556?
Yes. @angular/platform-server (npm): upgrade to 22.0.0-rc.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-50556 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-50556?
Check whether you run Google Platform-Server or @angular/platform-server (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • @angular/platform-server (npm): upgrade to 22.0.0-rc.2 or later
    npm install @angular/platform-server@22.0.0-rc.2

Technical details

A Cross-Site Scripting (XSS) vulnerability exists in @angular/platform-server's DOM emulation dependency (domino) during the serialization of <noscript> elements. When using Server-Side Rendering (SSR), domino treats <noscript> as a raw-text element but fails to escape closing tags (</noscript>) within bound dynamic text. An attacker can provide input containing a closing tag to break out of the <noscript> block and inject executable <script> tags. This occurs because the domino serializer omitted <noscript> from the list of elements requiring closing-tag escaping. The vulnerability is fixed in versions 22.0.0-rc.2, 21.2.16, 20.3.24, and 19.2.25.

Affected products

  • Google Angular < 19.2.25, >= 19.0.0-next.0 < 19.2.25, >= 20.0.0-next.0 < 20.3.24, >= 21.0.0-next.0 < 21.2.16, >= 22.0.0-next.0 < 22.0.0-rc.2

Identifiers

  • CVE-2026-50556
  • GHSA-gxx4-3xcv-f8qx

Timeline

  • 2026-05-23: disclosed: Issue first reported on GitHub
  • 2026-06-02: advisory: GitHub Security Advisory published
  • 2026-06-22: patched: NVD record published/updated

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.