{"id":"EUVD-2026-38257","revision":null,"records":[{"revision":"f6d6dc19d7b942759a53c6d32a0ee706","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-50557","aliases":[],"title":"Angular: Template and Attribute Namespace Sanitization Bypass (XSS)","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":"2026-06-22T15:11:48.347+00:00","modifiedAt":"2026-06-22T17:54:55.32+00:00","affected":[{"ecosystem":"Vendor product","name":"angular","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"angular\",\n                    \"product\": \"angular\",\n                    \"versions\": [\n                        {\n                            \"version\": \">= 21.0.0-next.0 < 21.2.15\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \">= 22.0.0-next.0 < 22.0.0-rc.2\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \">= 20.0.0-next.0 < 20.3.22\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \">= 19.0.0-next.0 < 19.2.22\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"<= 18.2.14\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"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":"MEDIUM"}],"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://www.cve.org/CVERecord?id=CVE-2026-50557","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-50557","identifiers":["CVE-2026-50557"]},"retained":false,"historicalAffected":[]},{"revision":"ca5cd114c1964153899f40500ebe5320","observedAt":"2026-11-16T01:12:55.791+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":[{"id":"WID-SEC-W-2026-1930","title":"Angular: Mehrere Schwachstellen","vulnerabilityIds":["CVE-2026-50168","CVE-2026-50169","CVE-2026-50170","CVE-2026-50171","CVE-2026-50184","CVE-2026-50555","CVE-2026-50556","CVE-2026-50557","CVE-2026-52725","CVE-2026-54264","CVE-2026-54267"]}],"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":[]},{"revision":"1ce8148c90b74767af4cf3bf0d2a9ccc","observedAt":"2026-10-25T13:17:10.707+00:00","statement":{"source":"nvd","id":"CVE-2026-50557","aliases":[],"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":"2026-06-22T16:16:38.05+00:00","modifiedAt":"2026-07-09T15:40:45.797+00:00","affected":[],"metrics":[{"system":"CVSS 4.0 · security-advisories@github.com · Secondary","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","score":5.3,"severity":"MEDIUM"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"severity":"MEDIUM"}],"references":["https://github.com/angular/angular/pull/68689","https://github.com/angular/angular/pull/68868","https://github.com/angular/angular/security/advisories/GHSA-f3m7-gqxr-g87x"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-50557","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Analyzed","weaknesses":["CWE-79"],"productCriteria":["cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:*","cpe:2.3:a:angular:angular:22.0.0:next0:*:*:*:node.js:*:*","cpe:2.3:a:angular:angular:22.0.0:next1:*:*:*:node.js:*:*","cpe:2.3:a:angular:angular:22.0.0:next10:*:*:*:node.js:*:*","cpe:2.3:a:angular:angular:22.0.0:next11:*:*:*:node.js:*:*","cpe:2.3:a:angular:angular:22.0.0:next12:*:*:*:node.js:*:*","cpe:2.3:a:angular:angular:22.0.0:next2:*:*:*:node.js:*:*","cpe:2.3:a:angular:angular:22.0.0:next3:*:*:*:node.js:*:*","cpe:2.3:a:angular:angular:22.0.0:next4:*:*:*:node.js:*:*","cpe:2.3:a:angular:angular:22.0.0:next5:*:*:*:node.js:*:*","cpe:2.3:a:angular:angular:22.0.0:next6:*:*:*:node.js:*:*","cpe:2.3:a:angular:angular:22.0.0:next7:*:*:*:node.js:*:*","cpe:2.3:a:angular:angular:22.0.0:next8:*:*:*:node.js:*:*","cpe:2.3:a:angular:angular:22.0.0:next9:*:*:*:node.js:*:*","cpe:2.3:a:angular:angular:22.0.0:rc0:*:*:*:node.js:*:*","cpe:2.3:a:angular:angular:22.0.0:rc1:*:*:*:node.js:*:*"],"sourceDates":{"published":"2026-06-22T16:16:38.050","lastModified":"2026-07-09T15:40:45.797"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-50557","identifiers":["CVE-2026-50557"]},"retained":false,"historicalAffected":[]},{"revision":"014dc61f78d44eb1b9863324f5255c12","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-f3m7-gqxr-g87x","aliases":["CVE-2026-50557"],"title":"Angular: Template and Attribute Namespace Sanitization Bypass (XSS)","description":"An issue in the `@angular/compiler` and `@angular/core` packages allows bypassing element and attribute sanitization/validation through specific namespace workarounds.\n\nSpecifically, 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.\n\nFurthermore, 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.\n\nCombined, 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).\n\n### Impact\nAny Angular application that compiles user-controlled templates at runtime, or relies on sanitization of namespaced elements/attributes, is vulnerable to this security bypass.\n\nOnce exploited, this allows a malicious actor to inject a namespaced script element or dynamic attribute bindings, bypassing core sanitization constraints to execute arbitrary JavaScript within the target user's browser context. This could lead to session hijacking, sensitive data exposure, or unauthorized actions on behalf of the user.\n\n### Attack Preconditions\nTo successfully exploit these vulnerabilities, the following environment parameters and application states must all concurrently exist:\n1. **User-Controlled Template Input:** The application must accept user-controlled inputs that are directly processed by the Angular template compiler at runtime.\n2. **Namespace Parsing Support:** The input structure must employ custom namespace prefixes (such as `<svg:script>`) to evade standard tag-name blocklists/checks.\n3. **Absence of Additional Context Sanitization:** The application does not perform separate input sanitization before feeding values to the Angular compiler.\n\n### Patches\n* 22.0.0-rc.2\n* 21.2.15\n* 20.3.22\n* 19.2.23","state":0,"publishedAt":"2026-06-15T17:21:58+00:00","modifiedAt":"2026-09-10T03:50:49.282553+00:00","affected":[{"ecosystem":"npm","name":"@angular/core","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"21.0.0-next.0"},{"kind":"fixed","version":"21.2.15"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"@angular/core","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"22.0.0-next.0"},{"kind":"fixed","version":"22.0.0-rc.2"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"@angular/core","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"20.0.0-next.0"},{"kind":"fixed","version":"20.3.22"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"@angular/core","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"19.0.0-next.0"},{"kind":"fixed","version":"19.2.22"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"@angular/core","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"last_affected","version":"18.2.14"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"@angular/compiler","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"21.0.0-next.0"},{"kind":"fixed","version":"21.2.15"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"@angular/compiler","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"22.0.0-next.0"},{"kind":"fixed","version":"22.0.0-rc.2"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"@angular/compiler","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"20.0.0-next.0"},{"kind":"fixed","version":"20.3.22"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"@angular/compiler","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"19.0.0-next.0"},{"kind":"fixed","version":"19.2.22"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"@angular/compiler","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"last_affected","version":"18.2.14"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":null,"severity":null},{"system":"CVSS_V4","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":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/angular/angular/security/advisories/GHSA-f3m7-gqxr-g87x","https://nvd.nist.gov/vuln/detail/CVE-2026-50557","https://github.com/angular/angular/pull/68689","https://github.com/angular/angular/pull/68868","https://github.com/angular/angular"],"sourceUrl":"https://github.com/advisories/GHSA-f3m7-gqxr-g87x","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-f3m7-gqxr-g87x","identifiers":["GHSA-f3m7-gqxr-g87x","CVE-2026-50557"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-16T04:30:52.2557588+00:00","complete":true,"records":1781,"lastAttemptAt":"2026-11-16T04:30:52.2557588+00:00","lastSuccessAt":"2026-11-16T04:30:52.4138138+00:00","error":null,"lastVerifiedAt":"2026-11-16T04:30:52.4138142+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-6be044d0e08779dadd136f949a536de4047af96f5d7bceb7e190ecffbb8f18ca-0bd49273d5e55042165b0bf8d929a5e1c58f2e80c55e9b90759e8068a491d2ff","complete":true,"records":425880,"lastAttemptAt":"2026-11-16T04:30:51.492258+00:00","lastSuccessAt":"2026-11-16T04:30:51.4787927+00:00","error":null,"lastVerifiedAt":"2026-11-16T04:30:51.492258+00:00","snapshotPublishedAt":"2026-11-16T04:26:12+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-1bfccad1f41044ea9d3cd19935bc75e6","complete":false,"records":13821,"lastAttemptAt":"2026-11-16T04:41:47.4530577+00:00","lastSuccessAt":"2026-11-16T04:41:47.434+00:00","error":"114 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-16T04:41:47.434+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13760,"expectedIdentifiers":13874,"failedIdentifiers":114},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-16T04:30:52.2557588+00:00","complete":true,"records":1125,"lastAttemptAt":"2026-11-16T04:30:52.2557588+00:00","lastSuccessAt":"2026-11-16T04:30:52.4146228+00:00","error":null,"lastVerifiedAt":"2026-11-16T04:30:52.414623+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-6e513190d9ef4881bece4dd24fccf509","complete":false,"records":13833,"lastAttemptAt":"2026-11-16T04:31:23.21264+00:00","lastSuccessAt":"2026-11-16T04:31:23.208+00:00","error":"100 identifier lookups failed; latest failures include HttpIOException. Other identifiers were checked independently.","lastVerifiedAt":"2026-11-16T04:31:23.208+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13774,"expectedIdentifiers":13874,"failedIdentifiers":100},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-64eea06dbd27de8464d5dbce1b78cc794cc59e2d901516ae0d3ea76e624cdae0","complete":true,"records":9955,"lastAttemptAt":"2026-11-16T04:30:52.205304+00:00","lastSuccessAt":"2026-11-14T13:57:23.1208135+00:00","error":null,"lastVerifiedAt":"2026-11-16T04:30:52.205304+00:00","snapshotPublishedAt":"2026-11-14T13:17:57+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-f4424d7d4861b1af1404bd15abcb83f295dcd003412a9340ca99dc8200aa148a","complete":true,"records":2014,"lastAttemptAt":"2026-11-16T04:30:51.636669+00:00","lastSuccessAt":"2026-11-13T19:57:08.2864435+00:00","error":null,"lastVerifiedAt":"2026-11-16T04:30:51.636669+00:00","snapshotPublishedAt":"2026-11-13T19:33:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-6086d649bcb454cdf302d7d9275177bda73550e1b6e446b3520e9b6266d3582c","complete":true,"records":3148,"lastAttemptAt":"2026-11-16T04:30:52.2185713+00:00","lastSuccessAt":"2026-11-15T11:05:17.1034234+00:00","error":null,"lastVerifiedAt":"2026-11-16T04:30:52.2185713+00:00","snapshotPublishedAt":"2026-11-15T10:03:04+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-e77c8ea93875d599a3ee92fde74c7150d1a28eacc697b92dc129baff6877c60e","complete":true,"records":232477,"lastAttemptAt":"2026-11-16T04:30:52.0116608+00:00","lastSuccessAt":"2026-11-16T01:07:48.2266333+00:00","error":null,"lastVerifiedAt":"2026-11-16T04:30:52.0116608+00:00","snapshotPublishedAt":"2026-11-16T01:03:09+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}