CVE-2026-22610 Details
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.
A cross-site scripting (XSS) vulnerability has been identified in the Angular Template Compiler, affecting versions prior to 19.2.18, 20.3.16, 21.0.7, and 21.1.0-rc.0. The issue arises because Angular's internal sanitization schema does not recognize the 'href' and 'xlink:href' attributes of SVG '<script>' elements as a Resource URL context. This oversight can lead to XSS if user-controlled values are interpolated into these attributes, allowing for the execution of arbitrary JavaScript in the context of the victim's browser session.
Users can upgrade to Angular versions 19.2.18, 20.3.16, 21.0.7, or 21.1.0-rc.0 to address this vulnerability. For applications that cannot be immediately upgraded, it is recommended to avoid dynamic bindings for SVG '<script>' elements and to validate any input that must be used in such bindings.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 13, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| angular angular | <= 18.2.14 >= 19.0.0, < 19.2.18 >= 20.0.0, < 20.3.16 >= 21.0.0, < 21.0.7 21.1.0 next0 21.1.0 next1 21.1.0 next2 21.1.0 next3 21.1.0 next4 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | siemens-SADP |
| Jun 2, 2026 | CVE Modified | siemens-SADP |
| Feb 23, 2026 | Initial Analysis | [email protected] |
| Jan 10, 2026 | New CVE Received | [email protected] |