CVE-2026-22610
January 10, 2026
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.
Affected Packages
angular (CDN_JS):
Affected version(s) >=20.0.0-next.0 <20.3.16Fix Suggestion:
Update to version 20.3.16angular (CDN_JS):
Affected version(s) >=19.0.0-next.0 <19.2.18Fix Suggestion:
Update to version 19.2.18angular (CDN_JS):
Affected version(s) >=21.0.0-next.0 <21.0.7Fix Suggestion:
Update to version 21.0.7https://github.com/angular/angular.git (GITHUB):
Affected version(s) >=21.0.0-next.0 <v21.0.7Fix Suggestion:
Update to version v21.0.7https://github.com/angular/angular.git (GITHUB):
Affected version(s) >=21.1.0-next.0 <v21.1.0-rc.0Fix Suggestion:
Update to version v21.1.0-rc.0https://github.com/angular/angular.git (GITHUB):
Affected version(s) >=20.0.0-next.0 <v20.3.16Fix Suggestion:
Update to version v20.3.16https://github.com/angular/angular.git (GITHUB):
Affected version(s) >=19.0.0-next.0 <v19.2.18Fix Suggestion:
Update to version v19.2.18@angular/compiler (NPM):
Affected version(s) >=19.0.0-next.0 <19.2.18Fix Suggestion:
Update to version 19.2.18@angular/core (NPM):
Affected version(s) >=21.0.0-next.0 <21.0.7Fix Suggestion:
Update to version 21.0.7@angular/compiler (NPM):
Affected version(s) >=21.0.0-next.0 <21.0.7Fix Suggestion:
Update to version 21.0.7@angular/core (NPM):
Affected version(s) >=20.0.0-next.0 <20.3.16Fix Suggestion:
Update to version 20.3.16@angular/compiler (NPM):
Affected version(s) >=20.0.0-next.0 <20.3.16Fix Suggestion:
Update to version 20.3.16@angular/core (NPM):
Affected version(s) >=19.0.0-next.0 <19.2.18Fix Suggestion:
Update to version 19.2.18Related Resources (5)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.5
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
ACTIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.0
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
EPSS
Base Score:
0.02