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, 38.7th percentile (scored ); unchanged over 30 days. About EPSS.
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 exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- ashizZz/CVE-2026-22610 (1 star, last pushed 2026-01-18)
References
- https://github.com/angular/angular/security/advisories/GHSA-jrmj-c5cx-3cw6 (Mitigation, Vendor Advisory)
- https://github.com/angular/angular/pull/66318 (Issue Tracking)
- https://github.com/angular/angular/commit/91dc91bae4a1bbefc58bef6ef739d0e02ab44d56 (Patch)
- cert-portal.siemens.com/productcert/html/ssa-253495.html
- cert-portal.siemens.com/productcert/html/ssa-485750.html
This CVE has public exploit evidence. See the latest CVEs with public exploits.