CVE-2025-66412 Details
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.
A stored cross-site scripting vulnerability has been identified in the Angular Template Compiler, affecting versions prior to 21.0.2, 20.3.15, 19.2.17, and 18.2.14. The vulnerability arises from an incomplete internal security schema, which allows attackers to bypass Angular's built-in security sanitization. Certain URL-holding attributes, such as those that could contain 'javascript:' URLs, were not properly classified as requiring strict URL security. This oversight enabled the injection of malicious scripts. Additionally, SVG animation elements could be exploited by targeting security-sensitive attributes on other elements, leading to the execution of arbitrary code.
Users can upgrade to Angular versions 21.0.2, 20.3.15, or 19.2.17 to address this vulnerability. If an upgrade is not possible, ensure that data bound to vulnerable attributes is sourced from trusted inputs, avoid dynamic bindings of security-sensitive attributes on iframes, and configure a robust Content Security Policy that disallows 'javascript:' URLs.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Dec 2, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| angular angular | <= 18.2.14 >= 19.0.0, < 19.2.17 >= 20.0.0, < 20.3.15 >= 21.0.0, < 21.0.2 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 18, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | siemens-SADP |
| Jun 2, 2026 | CVE Modified | siemens-SADP |
| Feb 20, 2026 | Initial Analysis | [email protected] |
| Dec 1, 2025 | New CVE Received | [email protected] |