CVE-2026-50556 Details
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 <noscript> elements. When rendering dynamic text content inside a <noscript> element via template bindings (such as {{ value }} or [textContent]), the template engine expects the browser to render the content safely. Under Server-Side Rendering (SSR), domino is configured with scripting enabled, meaning <noscript> is treated as a raw-text element. However, domino's serializer completely omitted <noscript> from the list of raw-text elements requiring closing-tag escaping during DOM serialization. As a result, any occurrence of </noscript> in the bound dynamic text was never escaped under any circumstances. The unescaped closing tag was serialized directly into the output HTML (e.g. <noscript></noscript><script>alert(1)</script></noscript>). When parsed by a browser, it closes the <noscript> block early, allowing the injected <script> block to execute in the user's browser context, causing 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.
A Cross-Site Scripting (XSS) vulnerability has been identified in the Angular platform server's DOM emulation dependency, domino. This issue affects versions of @angular/platform-server prior to 22.0.0-rc.2, as well as 21.2.16, 20.3.24, and 19.2.25. The vulnerability arises when dynamic text content is rendered inside <noscript> elements via template bindings. Under Server-Side Rendering (SSR), the domino serializer fails to properly escape closing </noscript> tags in user-controlled content, allowing injected scripts to execute in the user's browser context.
Users can update to Angular versions 22.0.0-rc.2, 21.2.16, 20.3.24, or 19.2.25. If an immediate update is not possible, avoid binding user-controlled values inside <noscript> elements or sanitize input to remove closing </noscript> tags before rendering.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 22, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2026-50556 | redhat-SADP | Third Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2491459 | redhat-SADP | Third Party Advisory |
| https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-50556.json | redhat-SADP | Third Party Advisory |
| https://github.com/angular/angular/issues/68903 | [email protected] | Issue Tracking |
| https://github.com/angular/angular/security/advisories/GHSA-gxx4-3xcv-f8qx | [email protected] | Third Party Advisory |
| https://github.com/angular/domino/pull/29 | [email protected] | Issue TrackingPatch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | redhat-SADP |
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| angular angular | <= 18.2.14 >= 19.0.0, < 19.2.25 >= 20.0.0, < 20.3.24 >= 21.0.0, < 21.2.16 22.0.0 next0 22.0.0 next1 22.0.0 next10 22.0.0 next11 22.0.0 next12 22.0.0 next2 22.0.0 next3 22.0.0 next4 22.0.0 next5 22.0.0 next6 22.0.0 next7 22.0.0 next8 22.0.0 next9 22.0.0 rc0 22.0.0 rc1 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 15, 2026 | CVE Modified | redhat-SADP |
| Jul 9, 2026 | Modified Analysis | [email protected] |
| Jul 3, 2026 | CVE Modified | redhat-SADP |
| Jun 30, 2026 | CVE Modified | redhat-SADP |
| Jun 26, 2026 | Initial Analysis | [email protected] |
| Jun 22, 2026 | CVE Modified | CISA-ADP |
| Jun 22, 2026 | New CVE Received | [email protected] |