{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-22610","id":"CVE-2026-22610","title":"Angular has XSS Vulnerability via Unsanitized SVG Script Attributes","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:","descriptionLong":"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.","published":"2026-01-10T03:35:40.727Z","updated":"2026-10-28T02:30:46.814600172Z","reserved":"2026-01-07T21:50:39.534Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":8.5,"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","rating":"high","source":"GitHub_M"},"metrics":[{"version":"4.0","score":8.5,"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","rating":"high","source":"GitHub_M"},{"version":"4.0","score":8.5,"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/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","rating":"high","source":"github.com"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"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","rating":"high","source":"GitHub"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"}],"rating":"high","products":["angular"],"affectedProducts":[{"vendor":"angular","product":"angular","defaultStatus":null,"versions":[{"version":">= 21.1.0-next.0, < 21.1.0-rc.0","status":"affected"},{"version":">= 21.0.0-next.0, < 21.0.7","status":"affected"},{"version":">= 20.0.0-next.0, < 20.3.16","status":"affected"},{"version":"< 19.2.18","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"@angular/compiler","purl":"pkg:npm/%40angular/compiler","ranges":[">=21.1.0-next.0 <21.1.0-rc.0",">=21.0.0-next.0 <21.0.7",">=20.0.0-next.0 <20.3.16",">=19.0.0-next.0 <19.2.18","<=18.2.14"],"fixed":["21.1.0-rc.0","21.0.7","20.3.16","19.2.18"],"advisory":"GHSA-jrmj-c5cx-3cw6"},{"ecosystem":"npm","name":"@angular/core","purl":"pkg:npm/%40angular/core","ranges":[">=21.1.0-next.0 <21.1.0-rc.0",">=21.0.0-next.0 <21.0.7",">=20.0.0-next.0 <20.3.16",">=19.0.0-next.0 <19.2.18","<=18.2.14"],"fixed":["21.1.0-rc.0","21.0.7","20.3.16","19.2.18"],"advisory":"GHSA-jrmj-c5cx-3cw6"}],"cwes":["CWE-79"],"aliases":["GHSA-jrmj-c5cx-3cw6"],"references":[{"url":"https://github.com/angular/angular/security/advisories/GHSA-jrmj-c5cx-3cw6","tags":["x_refsource_CONFIRM","Mitigation","Vendor Advisory","advisory","web"]},{"url":"https://github.com/angular/angular/pull/66318","tags":["x_refsource_MISC","Issue Tracking","fix","web"]},{"url":"https://github.com/angular/angular/commit/91dc91bae4a1bbefc58bef6ef739d0e02ab44d56","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-485750.html","tags":["web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-253495.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22610.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-22610","tags":["advisory"]},{"url":"https://github.com/angular/angular","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00439,"epssPercentile":0.38912,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-22610","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-22610","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-22610","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-jrmj-c5cx-3cw6","ok":true,"note":"GHSA-jrmj-c5cx-3cw6"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-22610","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}