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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-79"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22610.json"
}{
"extracted_events": [
{
"introduced": "0"
},
{
"last_affected": "18.2.14"
},
{
"introduced": "19.0.0"
},
{
"fixed": "19.2.18"
},
{
"introduced": "20.0.0"
},
{
"fixed": "20.3.16"
},
{
"introduced": "21.0.0"
},
{
"fixed": "21.0.7"
},
{
"introduced": "21.1.0-next0"
},
{
"last_affected": "21.1.0-next0"
},
{
"introduced": "21.1.0-next1"
},
{
"last_affected": "21.1.0-next1"
},
{
"introduced": "21.1.0-next2"
},
{
"last_affected": "21.1.0-next2"
},
{
"introduced": "21.1.0-next3"
},
{
"last_affected": "21.1.0-next3"
},
{
"introduced": "21.1.0-next4"
},
{
"last_affected": "21.1.0-next4"
}
],
"cpe": [
"cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:*",
"cpe:2.3:a:angular:angular:21.1.0:next0:*:*:*:node.js:*:*",
"cpe:2.3:a:angular:angular:21.1.0:next1:*:*:*:node.js:*:*",
"cpe:2.3:a:angular:angular:21.1.0:next2:*:*:*:node.js:*:*",
"cpe:2.3:a:angular:angular:21.1.0:next3:*:*:*:node.js:*:*",
"cpe:2.3:a:angular:angular:21.1.0:next4:*:*:*:node.js:*:*"
],
"source": [
"CPE_RANGE",
"CPE_STRING",
"REFERENCES"
]
}