Angular has XSS Vulnerability via Unsanitized SVG Script Attributes
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
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-22610
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 6 Nov 2026, 04:07 UTC · Revision 1
Source evidence
Angular has XSS Vulnerability via Unsanitized SVG Script Attributes
core-osv · Original sourcePublished 10 Jan 2026, 03:35 UTC
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
osv:CVE-2026-22610
Complete source record
{
"id": "55f1ad3ec00a56e8829bfd14787ae7d1f3516c3b68e1c1970dd6d7ce9051dd79",
"url": "https://osv.dev/vulnerability/CVE-2026-22610",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Angular has XSS Vulnerability via Unsanitized SVG Script Attributes",
"summary": "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",
"evidence": "osv:CVE-2026-22610",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-22610",
"aliases": [
"CVE-2026-22610",
"GHSA-jrmj-c5cx-3cw6"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/angular/angular",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "98db1093f8996aad6f9f5c563a9fcdcdc395d77b"
},
{
"introduced": "e7566c3c475560616f97de2ab3c8f8d6f83be015"
},
{
"fixed": "33eeec55638d990a17ede31adcd95e1eef85d098"
},
{
"introduced": "40e2b5b4d13792ed7c46a1d22afcf6c12ac9c679"
},
{
"fixed": "f76d891b8b69a5a966e9b2dd207ac39dd846bda3"
},
{
"introduced": "00dcbf2eeb3fd18ed39148e4bc9e49a5b35cae0c"
},
{
"fixed": "8fd585cc0b4a7fc70ecb306c0c7b17f15393d0bf"
},
{
"introduced": "4c0ba06532a96409ad05a3e88367a93d36e54647"
},
{
"fixed": "91dc91bae4a1bbefc58bef6ef739d0e02ab44d56"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "18.2.14"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "19.0.0"
},
{
"fixed": "19.2.18"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "20.0.0"
},
{
"fixed": "20.3.16"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "21.0.0"
},
{
"fixed": "21.0.7"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:angular:angular:21.1.0:next0:*:*:*:node.js:*:*",
"range": [
{
"introduced": "21.1.0-next0"
},
{
"last_affected": "21.1.0-next0"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:angular:angular:21.1.0:next1:*:*:*:node.js:*:*",
"range": [
{
"introduced": "21.1.0-next1"
},
{
"last_affected": "21.1.0-next1"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:angular:angular:21.1.0:next2:*:*:*:node.js:*:*",
"range": [
{
"introduced": "21.1.0-next2"
},
{
"last_affected": "21.1.0-next2"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:angular:angular:21.1.0:next3:*:*:*:node.js:*:*",
"range": [
{
"introduced": "21.1.0-next3"
},
{
"last_affected": "21.1.0-next3"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:angular:angular:21.1.0:next4:*:*:*:node.js:*:*",
"range": [
{
"introduced": "21.1.0-next4"
},
{
"last_affected": "21.1.0-next4"
}
],
"source": "CPE_STRING"
},
{
"range": [
{
"fixed": "91dc91bae4a1bbefc58bef6ef739d0e02ab44d56"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"21.1.0-next0",
"21.1.0-next1",
"21.1.0-next2",
"21.1.0-next3",
"21.1.0-next4",
"20.3.15",
"19.2.17",
"vsix-21.0.1",
"v21.1.0-next.4",
"v21.0.6",
"v21.0.5",
"v21.1.0-next.3",
"v21.0.4",
"v21.1.0-next.2",
"21.0.3",
"21.1.0-next.1",
"21.0.2",
"20.3.14",
"19.2.16",
"21.0.1",
"21.1.0-next.0",
"20.3.13",
"21.0.0",
"vsix-21.0.0",
"20.3.12",
"20.3.11",
"18.2.14",
"20.3.10",
"20.3.9",
"20.3.8",
"20.3.7",
"20.3.6",
"20.3.5",
"20.3.4",
"20.3.3",
"20.3.2",
"20.3.1",
"19.2.15",
"20.3.0",
"20.3.0-rc.0",
"20.2.4",
"20.2.3",
"20.2.2",
"20.2.1",
"20.2.0",
"20.2.0-rc.1",
"20.2.0-rc.0",
"20.2.0-next.6",
"20.2.0-next.5",
"20.2.0-next.4",
"20.2.0-next.3",
"20.2.0-next.2",
"20.2.0-next.1",
"20.2.0-next.0",
"20.1.0-next.3",
"20.1.0-next.2",
"20.1.0-next.1",
"20.1.0-next.0",
"19.2.14",
"19.2.13",
"zone.js-0.15.1",
"19.2.12",
"19.2.11",
"19.2.10",
"19.2.9",
"19.2.8",
"20.0.0-next.8",
"19.2.7",
"20.0.0-next.7",
"19.2.6",
"20.0.0-next.6",
"19.2.5",
"20.0.0-next.5",
"19.2.4",
"20.0.0-next.4",
"19.2.3",
"20.0.0-next.3",
"19.2.2",
"20.0.0-next.2",
"19.2.1",
"20.0.0-next.1",
"20.0.0-next.0",
"19.2.0",
"19.2.0-rc.0",
"19.2.0-next.3",
"19.2.0-next.2",
"19.2.0-next.1",
"18.2.13",
"19.2.0-next.0",
"19.1.0-next.4",
"19.1.0-next.3",
"19.1.0-next.2",
"19.1.0-next.1",
"19.1.0-next.0",
"18.2.12",
"18.2.11",
"18.2.10",
"18.2.9",
"19.0.0-next.10",
"18.2.8",
"19.0.0-next.9",
"18.2.7",
"19.0.0-next.8",
"18.2.6",
"19.0.0-next.7",
"18.2.5",
"19.0.0-next.6",
"18.2.4",
"19.0.0-next.5",
"19.0.0-next.4",
"18.2.3",
"19.0.0-next.3",
"18.2.2",
"19.0.0-next.2",
"18.2.1",
"19.0.0-next.1",
"zone.js-0.15.0",
"18.2.0",
"19.0.0-next.0",
"18.2.0-rc.0",
"18.2.0-next.4",
"zone.js-0.14.10",
"18.2.0-next.3",
"18.2.0-next.2",
"zone.js-0.14.8",
"18.2.0-next.1",
"18.2.0-next.0",
"18.1.0-next.4",
"18.1.0-next.3",
"18.1.0-next.2",
"zone.js-0.14.7",
"18.1.0-next.1",
"18.1.0-next.0",
"zone.js-0.14.6",
"zone.js-0.14.5",
"18.0.0-next.5",
"18.0.0-next.4",
"18.0.0-next.3",
"18.0.0-next.2",
"18.0.0-next.1",
"18.0.0-next.0",
"17.3.0-next.1",
"17.3.0-next.0",
"zone.js-0.14.4",
"17.2.0-next.1",
"17.2.0-next.0",
"zone.js-0.14.3",
"17.1.0-next.5",
"17.1.0-next.4",
"17.1.0-next.3",
"17.1.0-next.2",
"17.1.0-next.1",
"17.1.0-next.0",
"zone.js-0.14.2",
"zone.js-0.14.1",
"17.0.0-next.7",
"17.0.0-next.6",
"17.0.0-next.5",
"zone.js-0.14.0",
"17.0.0-next.4",
"zone.js-0.13.3",
"zone.js-0.13.2",
"17.0.0-next.3",
"17.0.0-next.2",
"17.0.0-next.1",
"17.0.0-next.0",
"16.2.0-next.4",
"16.2.0-next.3",
"16.2.0-next.2",
"16.2.0-next.1",
"16.2.0-next.0",
"zone.js-0.13.1",
"16.1.0-next.3",
"16.1.0-next.2",
"16.1.0-next.1",
"16.1.0-next.0",
"16.0.0-next.6",
"16.0.0-next.5",
"16.0.0-next.4",
"16.0.0-next.3",
"16.0.0-next.2",
"zone.js-0.13.0",
"16.0.0-next.1",
"16.0.0-next.0",
"15.2.0-next.4",
"15.2.0-next.3",
"15.2.0-next.2",
"15.2.0-next.1",
"15.2.0-next.0",
"15.1.0-next.3",
"15.1.0-next.2",
"15.1.0-next.1",
"15.1.0-next.0",
"zone.js-0.12.0",
"15.0.0-next.5",
"15.0.0-next.4",
"15.0.0-next.3",
"15.0.0-next.2",
"15.0.0-next.1",
"15.0.0-next.0",
"14.2.0-next.1",
"zone.js-0.11.8",
"14.2.0-next.0",
"zone.js-0.11.7",
"14.1.0-next.4",
"14.1.0-next.3",
"14.1.0-next.2",
"14.1.0-next.1",
"zone.js-0.11.6",
"14.1.0-next.0",
"14.0.0-next.15",
"14.0.0-next.14",
"14.0.0-next.13",
"14.0.0-next.12",
"14.0.0-next.11",
"14.0.0-next.10",
"14.0.0-next.9",
"14.0.0-next.8",
"14.0.0-next.7",
"14.0.0-next.6",
"zone.js-0.11.5",
"14.0.0-next.5",
"14.0.0-next.4",
"14.0.0-next.3",
"14.0.0-next.2",
"14.0.0-next.1",
"14.0.0-next.0",
"13.2.0-next.2",
"13.2.0-next.1",
"13.2.0-next.0",
"13.1.0-next.3",
"13.1.0-next.2",
"13.1.0-next.1",
"13.1.0-next.0",
"13.0.0-next.14",
"13.0.0-next.13",
"13.0.0-next.12",
"13.0.0-next.11",
"13.0.0-next.10",
"13.0.0-next.9",
"13.0.0-next.8",
"13.0.0-next.7",
"13.0.0-next.6",
"13.0.0-next.5",
"13.0.0-next.4",
"13.0.0-next.3",
"13.0.0-next.2",
"13.0.0-next.1",
"13.0.0-next.0",
"12.2.0-next.3",
"12.2.0-next.2",
"12.2.0-next.1",
"12.1.0",
"12.2.0-next.0",
"12.1.0-next.6",
"12.1.0-next.5",
"12.1.0-next.4",
"12.1.0-next.3",
"12.1.0-next.2",
"12.0.0-next.8",
"12.0.0-next.7",
"12.0.0-next.6",
"12.0.0-next.5",
"12.0.0-next.4",
"12.0.0-next.3",
"12.0.0-next.2",
"12.0.0-next.1",
"zone.js-0.11.4",
"12.0.0-next.0",
"11.1.0-next.4",
"11.1.0-next.3",
"11.1.0-next.2",
"11.1.0-next.1",
"11.1.0-next.0",
"zone.js-0.11.3",
"zone.js-0.11.2",
"11.0.0-next.6",
"11.0.0-next.5",
"11.0.0-next.4",
"11.0.0-next.3",
"11.0.0-next.2",
"11.0.0-next.1",
"11.0.0-next.0",
"10.1.0-rc.0",
"10.1.0-next.8",
"10.1.0-next.7",
"zone.js-0.11.0",
"10.1.0-next.6",
"10.1.0-next.5",
"10.1.0-next.4",
"10.1.0-next.3",
"10.1.0-next.2",
"10.1.0-next.1",
"10.1.0-next.0",
"10.0.0-rc.0",
"10.0.0-next.9",
"10.0.0-next.8",
"10.0.0-next.7",
"10.0.0-next.6",
"10.0.0-next.5",
"10.0.0-next.4",
"10.0.0-next.3",
"10.0.0-next.2",
"10.0.0-next.1",
"10.0.0-next.0",
"9.1.0-rc.0",
"9.1.0-next.5",
"zone.js-0.10.3",
"9.1.0-next.4",
"9.1.0-next.2",
"9.1.0-next.1",
"9.1.0-next.0",
"9.0.0-rc.1",
"9.0.0-rc.0",
"9.0.0-next.15",
"9.0.0-next.14",
"9.0.0-next.13",
"9.0.0-next.12",
"9.0.0-next.11",
"9.0.0-next.10",
"9.0.0-next.9",
"9.0.0-next.8",
"9.0.0-next.7",
"9.0.0-next.6",
"9.0.0-next.5",
"9.0.0-next.4",
"9.0.0-next.3",
"zone.js-0.10.2",
"9.0.0-next.2",
"9.0.0-next.1",
"zone.js-0.10.1",
"9.0.0-next.0",
"zone.js-0.10.0",
"8.2.0-next.2",
"8.2.0-next.1",
"8.2.0-next.0",
"8.1.0-rc.0",
"zone.js-0.9.2",
"8.1.0-next.3",
"8.1.0-next.2",
"8.1.0-next.1",
"8.1.0-beta.0",
"8.0.0-rc.0",
"8.0.0-beta.14",
"8.0.0-beta.13",
"8.0.0-beta.12",
"8.0.0-beta.11",
"8.0.0-beta.10",
"8.0.0-beta.9",
"8.0.0-beta.8",
"8.0.0-beta.7",
"8.0.0-beta.6",
"8.0.0-beta.5",
"8.0.0-beta.4",
"8.0.0-beta.3",
"8.0.0-beta.2",
"8.0.0-beta.1",
"8.0.0-beta.0",
"7.2.0",
"7.2.0-rc.0",
"7.2.0-beta.2",
"7.2.0-beta.1",
"7.1.0",
"7.1.0-rc.0",
"7.1.0-beta.2",
"7.1.0-beta.1",
"7.1.0-beta.0",
"7.0.0-rc.1",
"7.0.0-rc.0",
"7.0.0-beta.7",
"7.0.0-beta.6",
"7.0.0-beta.5",
"ngcontainer_0.5.0",
"7.0.0-beta.4",
"7.0.0-beta.3",
"7.0.0-beta.2",
"7.0.0-beta.1",
"ngcontainer_0.4.0",
"7.0.0-beta.0",
"6.1.0",
"6.1.0-rc.3",
"ngcontainer_0.3.3",
"6.1.0-beta.3",
"6.1.0-beta.2",
"6.1.0-beta.1",
"ngcontainer_0.3.2",
"6.1.0-beta.0",
"ngcontainer_0.3.1",
"ngcontainer_0.3.0",
"6.0.0-rc.5",
"6.0.0-rc.4",
"6.0.0-rc.3",
"6.0.0-rc.2",
"6.0.0-rc.1",
"6.0.0-rc.0",
"6.0.0-beta.8",
"6.0.0-beta.7",
"6.0.0-beta.6",
"6.0.0-beta.4",
"6.0.0-beta.3",
"6.0.0-beta.2",
"6.0.0-beta.1",
"6.0.0-beta.0",
"5.2.0",
"5.2.0-rc.0",
"5.2.0-beta.1",
"5.2.0-beta.0",
"5.1.0",
"5.1.0-rc.1",
"5.1.0-rc.0",
"5.1.0-beta.2",
"5.1.0-beta.1",
"5.1.0-beta.0",
"5.0.0-rc.4",
"5.0.0-rc.3",
"5.0.0-rc.2",
"5.0.0-rc.1",
"5.0.0-rc.0",
"5.0.0-beta.7",
"5.0.0-beta.6",
"5.0.0-beta.5",
"patch_sync",
"5.0.0-beta.4",
"5.0.0-beta.3",
"5.0.0-beta.2",
"5.0.0-beta.1",
"5.0.0-beta.0",
"4.3.0",
"4.3.0-rc.0",
"4.3.0-beta.1",
"4.3.0-beta.0",
"4.2.1",
"4.2.0-rc.2",
"4.2.0-rc.1",
"4.2.0-rc.0",
"4.2.0-beta.0",
"4.1.0",
"4.1.0-rc.0",
"4.1.0-beta.1",
"4.1.0-beta.0",
"4.0.0",
"4.0.0-rc.6",
"4.0.0-rc.5",
"4.0.0-rc.4",
"4.0.0-rc.3",
"4.0.0-rc.2",
"4.0.0-rc.1",
"4.0.0-beta.8",
"4.0.0-beta.7",
"4.0.0-beta.6",
"4.0.0-beta.5",
"4.0.0-beta.3",
"4.0.0-beta.2",
"4.0.0-beta.1",
"2.4.0-marker",
"2.3.0",
"4.0.0-beta.0",
"2.3.0-rc.0",
"2.3.0-beta.0",
"2.2.0",
"2.2.0-rc.0",
"2.2.0-beta.1",
"2.2.0-beta.0",
"2.1.0",
"2.1.0-rc.0",
"2.1.0-beta.0",
"2.0.0",
"2.0.0-rc.7",
"2.0.0-rc.6",
"2.0.0-rc.5",
"2.0.0-rc.4",
"2.0.0-rc.3",
"2.0.0-rc.2",
"2.0.0-rc.1",
"2.0.0-rc.0",
"2.0.0-beta.17",
"2.0.0-beta.16",
"2.0.0-beta.14",
"2.0.0-beta.13",
"2.0.0-beta.12",
"2.0.0-beta.11",
"2.0.0-beta.8",
"2.0.0-beta.7",
"2.0.0-beta.6",
"2.0.0-beta.0",
"2.0.0-alpha.55",
"2.0.0-alpha.54",
"2.0.0-alpha.53",
"2.0.0-alpha.52",
"2.0.0-alpha.51",
"2.0.0-alpha.50",
"2.0.0-alpha.49",
"2.0.0-alpha.48",
"2.0.0-alpha.47",
"2.0.0-alpha.44",
"2.0.0-alpha.42",
"2.0.0-alpha.41",
"2.0.0-alpha.40",
"2.0.0-alpha.35",
"2.0.0-alpha.34",
"2.0.0-alpha.33",
"2.0.0-alpha.32",
"2.0.0-alpha.31",
"2.0.0-alpha.30",
"2.0.0-alpha.29",
"2.0.0-alpha.28",
"2.0.0-alpha.27",
"2.0.0-alpha.26",
"2.0.0-alpha.25",
"2.0.0-alpha.24",
"2.0.0-alpha.23",
"2.0.0-alpha.22",
"2.0.0-alpha.21",
"2.0.0-alpha.20",
"2.0.0-alpha.19",
"2.0.0-alpha.18",
"2.0.0-alpha.17",
"2.0.0-alpha.15",
"2.0.0-alpha.14",
"2.0.0-alpha.13"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-22610.json"
}
}
],
"modified": "2026-10-28T02:30:46.814600172Z",
"provider": "osv",
"references": [
"https://cert-portal.siemens.com/productcert/html/ssa-253495.html",
"https://cert-portal.siemens.com/productcert/html/ssa-485750.html",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22610.json",
"https://github.com/angular/angular/security/advisories/GHSA-jrmj-c5cx-3cw6",
"https://nvd.nist.gov/vuln/detail/CVE-2026-22610",
"https://github.com/angular/angular/commit/91dc91bae4a1bbefc58bef6ef739d0e02ab44d56",
"https://github.com/angular/angular/pull/66318"
],
"provider_metadata": {
"cwe_ids": [
"CWE-79"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22610.json"
}
},
"related_cves": [
{
"value": "CVE-2026-22610",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 514567,
"published_at": "2026-01-10T03:35:40.727+00:00"
}