Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
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.15
Fix Suggestion:
Update to version 20.3.15
https://github.com/angular/angular.git (GITHUB):
Affected version(s) >=19.0.0-next.0 <19.2.17
Fix Suggestion:
Update to version 19.2.17
https://github.com/angular/angular.git (GITHUB):
Affected version(s) >=21.0.0-next.0 <21.0.2
Fix Suggestion:
Update to version 21.0.2
@angular/compiler (NPM):
Affected version(s) >=19.0.0-next.0 <19.2.17
Fix Suggestion:
Update to version 19.2.17
@angular/compiler (NPM):
Affected version(s) >=20.0.0-next.0 <20.3.15
Fix Suggestion:
Update to version 20.3.15
@angular/compiler (NPM):
Affected version(s) >=21.0.0-next.0 <21.0.2
Fix Suggestion:
Update to version 21.0.2
Do you need more information?
Contact Us
CVSS 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