CVE 8.5 HIGH

Angular has XSS Vulnerability via Unsanitized SVG Script Attributes_CVE-2026-22610

8.5 / 10
HIGH
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

Description

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.

AI Analysis

Cross-site scripting (XSS) vulnerability in Angular Template Compiler due to unsanitized SVG script attributes

Basic Information

ID CVE-2026-22610
Source GitHub_M
Published Jan 10, 2026 at 03:35

Affected Product

Vendor angular
Product angular
Version >= 21.1.0-next.0, < 21.1.0-rc.0
Affected Versions angular angular >= 21.1.0-next.0, < 21.1.0-rc.0
angular angular >= 21.0.0-next.0, < 21.0.7
angular angular >= 20.0.0-next.0, < 20.3.16
angular angular < 19.2.18

CWE Classification

AI Assessment

AI Score 8.5 / 10
AI Severity High
Vendor Google
Product Angular
Version < 19.2.18, >= 20.0.0-next.0, < 20.3.16, >= 21.0.0-next.0, < 21.0.7, >= 21.1.0-next.0, < 21.1.0-rc.0

References

πŸ’­ Join the Security Discussion

πŸ”’ Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.