CVE-2025-66412
December 01, 2025
Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to 21.0.2, 20.3.15, and 19.2.17, A Stored Cross-Site Scripting (XSS) vulnerability has been identified in the Angular Template Compiler. It occurs because the compiler's internal security schema is incomplete, allowing attackers to bypass Angular's built-in security sanitization. Specifically, the schema fails to classify certain URL-holding attributes (e.g., those that could contain javascript: URLs) as requiring strict URL security, enabling the injection of malicious scripts. This vulnerability is fixed in 21.0.2, 20.3.15, and 19.2.17.
Affected Packages
https://github.com/angular/angular.git (GITHUB):
Affected version(s) >=20.0.0-next.0 <20.3.15Fix Suggestion:
Update to version 20.3.15https://github.com/angular/angular.git (GITHUB):
Affected version(s) >=19.0.0-next.0 <19.2.17Fix Suggestion:
Update to version 19.2.17https://github.com/angular/angular.git (GITHUB):
Affected version(s) >=21.0.0-next.0 <21.0.2Fix Suggestion:
Update to version 21.0.2@angular/compiler (NPM):
Affected version(s) >=19.0.0-next.0 <19.2.17Fix Suggestion:
Update to version 19.2.17@angular/compiler (NPM):
Affected version(s) >=20.0.0-next.0 <20.3.15Fix Suggestion:
Update to version 20.3.15@angular/compiler (NPM):
Affected version(s) >=21.0.0-next.0 <21.0.2Fix Suggestion:
Update to version 21.0.2Related Resources (4)
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.04