CVE-2026-50556 Angular: Missing `<noscript>` Raw-Text Serialization Escaping leads to Cross-Site Scripting (XSS) in Angular SSR
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
10 packages: 2 fixed, 6 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/angular.js(Debian 12) | = 1.8.3-1; = 1.8.3-1+deb12u1; = 1.8.3-1+deb12u1~deb11u1; = 1.8.3-2 +2 more | No fix listed | No fix yet |
| debian/angular.js(Debian 13) | = 1.8.3-3; All versions | No fix listed | No fix yet |
| ubuntu/angular.js(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/angular.js(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/angular.js(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/angular.js(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| angular | <= 18.2.14; = 22.0.0-next0; = 22.0.0-next1; = 22.0.0-next2 +20 more | 19.2.25, 20.3.24, 21.2.16 | Fixed |
| angular platform-server(npm) | <= 18.2.14; >= 19.0.0-next.0, < 19.2.25; >= 20.0.0-next.0, < 20.3.24; >= 21.0.0-next.0, < 21.2.16 +1 more | 19.2.25, 20.3.24, 21.2.16, 22.0.0-rc.2 | Fixed |
| redhat enterprise linux | = 8 | No fix listed | Versions listed |
| redhat jboss fuse | = 7 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| angular | = >= 22.0.0-next.0, < 22.0.0-rc.2 | No fix listed |
| angular | = >= 21.0.0-next.0, < 21.2.16 | No fix listed |
| angular | = >= 20.0.0-next.0, < 20.3.24 | No fix listed |
| angular | = >= 19.0.0-next.0, < 19.2.25 | No fix listed |
| angular | = <= 18.2.14 | No fix listed |
| redhat enterprise linux | = 8 | No fix listed |
| redhat jboss fuse | = 7 | No fix listed |
| angular platform-server(npm) | >= 22.0.0-next.0, < 22.0.0-rc.2 | 22.0.0-rc.2 |
| angular platform-server(npm) | >= 21.0.0-next.0, < 21.2.16 | 21.2.16 |
| angular platform-server(npm) | >= 20.0.0-next.0, < 20.3.24 | 20.3.24 |
| angular platform-server(npm) | >= 19.0.0-next.0, < 19.2.25 | 19.2.25 |
| angular platform-server(npm) | <= 18.2.14 | No fix listed |
| debian/angular.js(Debian:12) | All versions | No fix listed |
| debian/angular.js(Debian:12) | = 1.8.3-1 | No fix listed |
| debian/angular.js(Debian:12) | = 1.8.3-1+deb12u1 | No fix listed |
| debian/angular.js(Debian:12) | = 1.8.3-1+deb12u1~deb11u1 | No fix listed |
| debian/angular.js(Debian:12) | = 1.8.3-2 | No fix listed |
| debian/angular.js(Debian:12) | = 1.8.3-3 | No fix listed |
| debian/angular.js(Debian:13) | All versions | No fix listed |
| debian/angular.js(Debian:13) | = 1.8.3-3 | No fix listed |
| ubuntu/angular.js(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/angular.js(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/angular.js(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/angular.js(Ubuntu:26.10) | All versions | No fix listed |
| angular | <= 18.2.14 | No fix listed |
Show 18 more
| Product | Affected versions | Fixed in |
|---|---|---|
| angular | >= 19.0.0, < 19.2.25 | 19.2.25 |
| angular | >= 20.0.0, < 20.3.24 | 20.3.24 |
| angular | >= 21.0.0, < 21.2.16 | 21.2.16 |
| angular | = 22.0.0-next0 | No fix listed |
| angular | = 22.0.0-next1 | No fix listed |
| angular | = 22.0.0-next10 | No fix listed |
| angular | = 22.0.0-next11 | No fix listed |
| angular | = 22.0.0-next12 | No fix listed |
| angular | = 22.0.0-next2 | No fix listed |
| angular | = 22.0.0-next3 | No fix listed |
| angular | = 22.0.0-next4 | No fix listed |
| angular | = 22.0.0-next5 | No fix listed |
| angular | = 22.0.0-next6 | No fix listed |
| angular | = 22.0.0-next7 | No fix listed |
| angular | = 22.0.0-next8 | No fix listed |
| angular | = 22.0.0-next9 | No fix listed |
| angular | = 22.0.0-rc0 | No fix listed |
| angular | = 22.0.0-rc1 | No fix listed |
References
- https://github.com/angular/angular/security/advisories/GHSA-gxx4-3xcv-f8qx third-party-advisory vendor-advisory
- https://github.com/angular/angular/issues/68903 issue-tracking
- https://github.com/angular/domino/pull/29 issue-tracking patch
- Red Hat CVE page mitigation third-party-advisory vdb-entry vendor-advisory
- RHBZ#2491459 issue-tracking third-party-advisory
- security.access.redhat.com third-party-advisory
- www.cve.org
- nvd.nist.gov
- github.com
- Debian Security Tracker CVE-2026-50556 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- github.com product