CVE-2025-66412
Severity CVSS v4.0:
HIGH
Type:
CWE-79
Cross-Site Scripting (XSS)
Publication date:
01/12/2025
Last modified:
20/02/2026
Description
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.
Impact
Base Score 4.0
8.50
Severity 4.0
HIGH
Base Score 3.x
5.40
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:* | 18.2.14 (including) | |
| cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:* | 19.0.0 (including) | 19.2.17 (excluding) |
| cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:* | 20.0.0 (including) | 20.3.15 (excluding) |
| cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:* | 21.0.0 (including) | 21.0.2 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



