{"id":"EUVD-2026-38257","revision":"ca86e5b8deb54e00a9fb44f1229b398a","records":[{"revision":"ca86e5b8deb54e00a9fb44f1229b398a","observedAt":"2026-11-09T12:08:33.928+00:00","statement":{"source":"euvd","id":"EUVD-2026-38257","aliases":["CVE-2026-50557","GHSA-f3m7-gqxr-g87x"],"title":"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.15, 20.3.22 and 19.2.22, an issue in the @angular/compiler and @angular/core pack…","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.15, 20.3.22 and 19.2.22, an issue in the @angular/compiler and @angular/core packages allows bypassing element and attribute sanitization/validation through specific namespace workarounds. Specifically, namespaced script elements (e.g., <svg:script> or <:svg:script>) were not properly identified as script elements by the Angular template preparser, allowing them to pass through template compilation without being stripped. Furthermore, security context schema mappings for element attributes did not consistently handle attributes within namespaced elements (like SVG and MathML), opening up gaps where malicious namespaced attributes could bypass runtime and compile-time sanitizers. Combined, these flaws enable an attacker who can inject or supply a template/tag structure with custom namespaces to bypass Angular's script-stripping logic and attribute sanitizers, leading to client-side Cross-Site Scripting (XSS). This vulnerability is fixed in 22.0.0-rc.2, 21.2.15, 20.3.22 and 19.2.22.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","score":5.3,"severity":null}],"references":["https://github.com/angular/angular/security/advisories/GHSA-f3m7-gqxr-g87x","https://github.com/angular/angular/pull/68689","https://github.com/angular/angular/pull/68868"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-38257","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Jun 22, 2026, 3:11:48 PM","dateUpdated":"Jun 22, 2026, 5:54:55 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-38257","identifiers":["EUVD-2026-38257","CVE-2026-50557","GHSA-f3m7-gqxr-g87x"]},"retained":false,"historicalAffected":[]}],"coverage":[]}