{"id":"CVE-2026-50556","published":"2026-06-22T15:38:28Z","modified":"2026-07-15T00:46:49Z","title":"Angular: Missing `<noscript>` Raw-Text Serialization Escaping leads to Cross-Site Scripting (XSS) in Angular SSR","vendor":"angular","product":"angular","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.6,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00412,"percentile":0.36374,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/angular/angular/security/advisories/GHSA-gxx4-3xcv-f8qx","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/angular/angular/issues/68903","tags":["x_refsource_MISC"]},{"url":"https://github.com/angular/domino/pull/29","tags":["x_refsource_MISC"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-50556","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2491459","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-50556.json","tags":["x_sadp-csaf-vex"]}],"priority":{"score":13.3,"factors":[{"name":"EPSS percentile","points":7.27},{"name":"CVSS severity","points":6.02}]},"vendorSlug":"angular","affectedVersions":[{"vendor":"angular","product":"angular","versions":[">= 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"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-06-22T21:14:35.418340Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@angular/platform-server","vulnerableRanges":[">=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"],"patched":["22.0.0-rc.2","21.2.16","20.3.24","19.2.25"],"from":["GHSA-gxx4-3xcv-f8qx"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-38291","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-59052","published":"2025-09-10","fixed":"21.0.0-next.3","kev":false},{"cve":"CVE-2026-50168","published":"2026-06-22","fixed":"22.0.0-rc.2","kev":false,"link":{"from":"CVE-2026-50168","to":"CVE-2026-50556","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@angular/platform-server","fromFixed":"21.2.15","toFixed":"21.2.16","daysApart":0},{"kind":"version-step","provenance":"source","package":"npm:@angular/platform-server","fromFixed":"20.3.22","toFixed":"20.3.24","daysApart":0}]}},{"cve":"CVE-2026-50555","published":"2026-06-22","fixed":"22.0.0-rc.2","kev":false},{"cve":"CVE-2026-50556","published":"2026-06-22","fixed":"22.0.0-rc.2","kev":false},{"cve":"CVE-2026-46417","published":"2026-06-22","fixed":"22.0.0-next.12","kev":false},{"cve":"CVE-2026-41423","published":"2026-05-08","fixed":"22.0.0-next.8","kev":false},{"cve":"CVE-2026-69149","published":"2026-08-03","fixed":"22.0.7","kev":false}],"package":"npm:@angular/platform-server"}}