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

Source: https://junglewise.ai/threats/cve-2026-50556-angular-xss-in-platform-server-noscript-serialization  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-06-22. Updated: 2026-06-22  
License: CC BY 4.0 with a link back

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](https://junglewise.ai/threats/technologies/google-angular), [@angular/platform-server (npm)](https://junglewise.ai/threats/technologies/angular-platform-server). Vendors: [Google](https://junglewise.ai/threats/vendors/google), [npm](https://junglewise.ai/threats/vendors/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

  ```sh
  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

- [https://github.com/angular/angular/issues/68903](https://github.com/angular/angular/issues/68903)
- [https://github.com/angular/angular/security/advisories/GHSA-gxx4-3xcv-f8qx](https://github.com/angular/angular/security/advisories/GHSA-gxx4-3xcv-f8qx)
- [https://github.com/angular/domino/pull/29](https://github.com/angular/domino/pull/29)

## Related threats

- [Angular platform-server open redirect via protocol-relative URLs in SSR](https://junglewise.ai/threats/cve-2026-111754-angular-platform-server-open-redirect-via-protocol-relative-urls)
- [Angular platform-server denial of service via malformed DOCTYPE](https://junglewise.ai/threats/cve-2026-101895-angular-ssr-denial-of-service-dos-via-infinite-loop-on-malformed)
- [Angular platform-server SSR XSS via unescaped template in fallback elements](https://junglewise.ai/threats/cve-2026-88060-angular-platform-server-ssr-xss-via-unescaped-template-in)
- [Angular platform-server XSS via ProcessingInstruction DOM serialization](https://junglewise.ai/threats/cve-2026-88058-angular-platform-server-xss-via-processinginstruction-dom)
- [Angular platform-server SSRF via URL resolution discrepancy](https://junglewise.ai/threats/cve-2026-88056-angular-platform-server-ssrf-via-url-resolution-discrepancy)
