{"cve":"CVE-2026-50556","nvd":{"published":"2026-06-22T18:16:43.190","modified":"2026-07-15T01:16:19.880","status":"Analyzed","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.","cvss_v4":{"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","score":8.6},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-79"],"references":["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://access.redhat.com/security/cve/CVE-2026-50556","https://bugzilla.redhat.com/show_bug.cgi?id=2491459"],"products":["angular:angular"],"source":"nvd","synced_at":"2026-10-19T22:39:28.638635428+00:00"},"epss":{"cve":"CVE-2026-50556","score":0.00412,"percentile":0.3551,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-gxx4-3xcv-f8qx","url":"https://osv.dev/vulnerability/GHSA-gxx4-3xcv-f8qx","summary":"@angular/platform-server: Missing `<noscript>` Raw-Text Serialization Escaping leads to Cross-Site Scripting (XSS) in Angular SSR","modified":"2026-09-10T03:51:08.774813189Z","packages":[{"ecosystem":"npm","name":"@angular/platform-server","purl":"pkg:npm/%40angular/platform-server","ranges":[">=22.0.0-next.0 <22.0.0-rc.2"],"fixed":["22.0.0-rc.2"]},{"ecosystem":"npm","name":"@angular/platform-server","purl":"pkg:npm/%40angular/platform-server","ranges":[">=21.0.0-next.0 <21.2.16"],"fixed":["21.2.16"]},{"ecosystem":"npm","name":"@angular/platform-server","purl":"pkg:npm/%40angular/platform-server","ranges":[">=20.0.0-next.0 <20.3.24"],"fixed":["20.3.24"]},{"ecosystem":"npm","name":"@angular/platform-server","purl":"pkg:npm/%40angular/platform-server","ranges":[">=19.0.0-next.0 <19.2.25"],"fixed":["19.2.25"]},{"ecosystem":"npm","name":"@angular/platform-server","purl":"pkg:npm/%40angular/platform-server","ranges":["<=18.2.14"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}