{"cve":"CVE-2026-22610","nvd":{"published":"2026-01-10T04:16:01.517","modified":"2026-06-17T10:20:09.593","status":"Modified","description":"Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to versions 19.2.18, 20.3.16, 21.0.7, and 21.1.0-rc.0, a cross-site scripting (XSS) vulnerability has been identified in the Angular Template Compiler. The vulnerability exists because Angular’s internal sanitization schema fails to recognize the href and xlink:href attributes of SVG <script> elements as a Resource URL context. This issue has been patched in versions 19.2.18, 20.3.16, 21.0.7, and 21.1.0-rc.0.","cvss_v4":{"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":8.5},"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/commit/91dc91bae4a1bbefc58bef6ef739d0e02ab44d56","https://github.com/angular/angular/pull/66318","https://github.com/angular/angular/security/advisories/GHSA-jrmj-c5cx-3cw6","https://cert-portal.siemens.com/productcert/html/ssa-253495.html","https://cert-portal.siemens.com/productcert/html/ssa-485750.html"],"products":["angular:angular"],"source":"nvd","synced_at":"2026-10-19T22:19:41.481987139+00:00"},"epss":{"cve":"CVE-2026-22610","score":0.00439,"percentile":0.38185,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-jrmj-c5cx-3cw6","url":"https://osv.dev/vulnerability/GHSA-jrmj-c5cx-3cw6","summary":"Angular has XSS Vulnerability via Unsanitized SVG Script Attributes","modified":"2026-09-10T03:50:33.469090469Z","packages":[{"ecosystem":"npm","name":"@angular/compiler","purl":"pkg:npm/%40angular/compiler","ranges":[">=21.1.0-next.0 <21.1.0-rc.0"],"fixed":["21.1.0-rc.0"]},{"ecosystem":"npm","name":"@angular/core","purl":"pkg:npm/%40angular/core","ranges":[">=21.1.0-next.0 <21.1.0-rc.0"],"fixed":["21.1.0-rc.0"]},{"ecosystem":"npm","name":"@angular/compiler","purl":"pkg:npm/%40angular/compiler","ranges":[">=21.0.0-next.0 <21.0.7"],"fixed":["21.0.7"]},{"ecosystem":"npm","name":"@angular/core","purl":"pkg:npm/%40angular/core","ranges":[">=21.0.0-next.0 <21.0.7"],"fixed":["21.0.7"]},{"ecosystem":"npm","name":"@angular/compiler","purl":"pkg:npm/%40angular/compiler","ranges":[">=20.0.0-next.0 <20.3.16"],"fixed":["20.3.16"]},{"ecosystem":"npm","name":"@angular/core","purl":"pkg:npm/%40angular/core","ranges":[">=20.0.0-next.0 <20.3.16"],"fixed":["20.3.16"]},{"ecosystem":"npm","name":"@angular/compiler","purl":"pkg:npm/%40angular/compiler","ranges":[">=19.0.0-next.0 <19.2.18"],"fixed":["19.2.18"]},{"ecosystem":"npm","name":"@angular/core","purl":"pkg:npm/%40angular/core","ranges":[">=19.0.0-next.0 <19.2.18"],"fixed":["19.2.18"]},{"ecosystem":"npm","name":"@angular/compiler","purl":"pkg:npm/%40angular/compiler","ranges":["<=18.2.14"],"fixed":[]},{"ecosystem":"npm","name":"@angular/core","purl":"pkg:npm/%40angular/core","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."]}