CVE-2026-50556
published high CVSS 4.0 · 8.6Angular: Missing `<noscript>` Raw-Text Serialization Escaping leads to Cross-Site Scripting (XSS) in Angular SSR
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| angular | — | angular>= 22.0.0-next.0, < 22.0.0-rc.2 · >= 21.0.0-next.0, < 21.2.16 · >= 20.0.0-next.0, < 20.3.24 · >= 19.0.0-next.0, < 19.2.25 · <= 18.2.14 | Affected | Not stated | GitHub_M |
| Red Hat Enterprise Linux | 8 | dotnet5.0-build-reference-packages | Unaffected | Not required | redhat-SADP |
| Red Hat | — | platform-serverRed Hat Fuse 7 | Unaffected | Not required | redhat-SADP |
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 flaw was found in @angular/platform-server. This Cross-Site Scripting (XSS) vulnerability exists in its DOM emulation dependency, domino, when handling the content of `<noscript>` elements during server-side rendering. A remote attacker could exploit this by injecting unescaped closing `</noscript>` tags within dynamic text content. This allows for the execution of arbitrary code in the user's browser context, potentially leading to information disclosure or other malicious activities.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.6 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.1 | high | redhat-SADP · adp | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| angular | angular | >= 22.0.0-next.0, < 22.0.0-rc.2 (affected)>= 21.0.0-next.0, < 21.2.16 (affected)>= 20.0.0-next.0, < 20.3.24 (affected)>= 19.0.0-next.0, < 19.2.25 (affected)<= 18.2.14 (affected) | GitHub_M · cna |
| Red Hat | Red Hat Enterprise Linux 8 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Fuse 7 | Default: unaffected | redhat-SADP · adp |
Weaknesses
2- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
6- https://access.redhat.com/security/cve/CVE-2026-50556
- RHBZ#2491459 https://bugzilla.redhat.com/show_bug.cgi?id=2491459
- https://github.com/angular/angular/issues/68903
- https://github.com/angular/angular/security/advisories/GHSA-gxx4-3xcv-f8qx
- https://github.com/angular/domino/pull/29
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-50556.json
Provider assertions
3GitHub_M · cna
Angular: Missing `<noscript>` Raw-Text Serialization Escaping leads to Cross-Site Scripting (XSS) in Angular SSR
redhat-SADP · adp
@angular/platform-server: domino: Angular Platform Server: Cross-Site Scripting via unescaped `</noscript>` tags in dynamic content
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- bfa03cc0659491130c0344c1c642bc7c1abff226014fe680fb6a13e2bab7023b
- Ingested
- 23 Sep 2026, 09:18:57 UTC
- Source record
- Official CVE record