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.
References
| Link | Resource |
|---|---|
| https://github.com/angular/angular/commit/1c6b0704fb63d051fab8acff84d076abfbc4893a | Patch |
| https://github.com/angular/angular/security/advisories/GHSA-v4hv-rgfq-gp49 | Third Party Advisory |
Configurations
Configuration 1 (hide)
|
History
20 Feb 2026, 16:37
| Type | Values Removed | Values Added |
|---|---|---|
| First Time |
Angular
Angular angular |
|
| CPE | cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:* | |
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 5.4 |
| References | () https://github.com/angular/angular/commit/1c6b0704fb63d051fab8acff84d076abfbc4893a - Patch | |
| References | () https://github.com/angular/angular/security/advisories/GHSA-v4hv-rgfq-gp49 - Third Party Advisory |
01 Dec 2025, 23:15
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2025-12-01 23:15
Updated : 2026-02-20 16:37
NVD link : CVE-2025-66412
Mitre link : CVE-2025-66412
CVE.ORG link : CVE-2025-66412
JSON object : View
Products Affected
angular
- angular
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
