CVE-2026-22610CWE-79

Angular has XSS Vulnerability via Unsanitized SVG Script Attributes

High · published January 10, 2026

CVSS v4.0
8.5
EPSS
0%
Percentile
37.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
8.5 · HIGH
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
EPSS
0.00439 · 37.2th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2026-01-10T03:35Z
EPSS history
Timeline
  • 10 JAN 03:35Z
    Angular has XSS Vulnerability via Unsanitized SVG Script Attributes
    cvelistv5