# CVE-2026-50556: Angular: Missing `<noscript>` Raw-Text Serialization Escaping leads to Cross-Site Scripting (XSS) in Angular SSR

- Severity: High 8.6 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2026-06-15T17:21:03.000Z
- Modified: 2026-09-10T03:51:08.774Z
- Also known as: GHSA-gxx4-3xcv-f8qx
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- 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; up to 18.2.14; from 19.0.0 before 19.2.25; from 20.0.0 before 20.3.24; from 21.0.0 before 21.2.16; 22.0.0
- dotnet5.0-build-reference-packages: no versions given
- platform-server: no versions given
- @angular/platform-server (npm): from 22.0.0-next.0 before 22.0.0-rc.2; from 21.0.0-next.0 before 21.2.16; from 20.0.0-next.0 before 20.3.24; from 19.0.0-next.0 before 19.2.25; up to 18.2.14

## Every score

- GitHub_M: CVSS:4.0 8.6 High `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`
- redhat-SADP: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`
- GitHub: CVSS:4.0 High `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`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/angular/angular/security/advisories/GHSA-gxx4-3xcv-f8qx> (third-party-advisory, web)
- <https://github.com/angular/angular/issues/68903> (issue-tracking, web)
- <https://github.com/angular/domino/pull/29> (issue-tracking, patch, web)
- <https://access.redhat.com/security/cve/CVE-2026-50556> (third-party-advisory, vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2491459> (issue-tracking, third-party-advisory)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-50556.json> (third-party-advisory)
- <https://github.com/angular/angular> (package)

## Sources

- CVE List: [CVE-2026-50556](https://www.cve.org/CVERecord?id=CVE-2026-50556), CVE Terms of Use, modified 2026-07-15
- GitHub Advisory Database: [GHSA-gxx4-3xcv-f8qx](https://github.com/advisories/GHSA-gxx4-3xcv-f8qx), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-50556](https://nvd.nist.gov/vuln/detail/CVE-2026-50556), Public domain, modified 2026-07-15

---

Page: https://cve.day/CVE-2026-50556 · Whole record: https://cve.day/CVE-2026-50556.json · Rebuilt by cve.day 2026-11-25T22:59:25.388Z
