XSS in Angular
CVE-2026-22610
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.004 (36.3th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 36th percentile — 36.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.004 · change: -0.000
Affected products
- Angular — versions 21.1.0, >= 21.0.0-next.0, < 21.0.7, >= 21.1.0-next.0, < 21.1.0-rc.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/angular/angular/security/advisories/GHSA-jrmj-c5cx-3cw6 (Mitigation, Vendor Advisory)
- github.com/angular/angular/pull/66318 (Issue Tracking)
- github.com/angular/angular/commit/91dc91bae4a1bbefc58bef6ef739d0e02ab44d56 (Patch)
- 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
- 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
Frequently asked questions
- What is CVE-2026-22610?
- CVE-2026-22610 is a medium-severity vulnerability in Angular, classified under Cross-site Scripting. CVSS score: 6.1/10. Published 2026-01-10.
- How severe is CVE-2026-22610?
- Medium severity. CVSS v3 base score is 6.1 out of 10.
- Is CVE-2026-22610 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.