CVE-2025-66412Angular
High 8.5
Follow: this CVE · Angular · Angular We alert you by email or Slack (account required).
- Priority
- 51
- CVSS 4.0
- 8.5
- EPSS
- —
- Auth required
- Yes
- Published
- Dec 1, 2025
- Updated
- Oct 18, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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.
What to do
- Apply the vendor's security update for Angular.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | @angular/compiler |
≥ 21.0.0-next.0 < 21.0.2 |
21.0.2 |
npm install @angular/compiler@21.0.2 |
| npm | @angular/compiler |
≥ 20.0.0-next.0 < 20.3.15 |
20.3.15 |
npm install @angular/compiler@20.3.15 |
| npm | @angular/compiler |
≥ 19.0.0-next.0 < 19.2.17 |
19.2.17 |
npm install @angular/compiler@19.2.17 |
| npm | @angular/compiler |
≤ 18.2.14 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-v4hv-rgfq-gp49). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| angular | angular | ≤ 18.2.14 |
| angular | angular | ≥ 19.0.0 < 19.2.17 |
| angular | angular | ≥ 20.0.0 < 20.3.15 |
| angular | angular | ≥ 21.0.0 < 21.0.2 |
Official advisories
- Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.3.18 security update · Red Hat · RHSA-2026:33371 · Jun 30, 2026 High
- Multiple Vulnerabilities in SINEC OS before V4.0 · Siemens · SSA-253495 · Jun 2, 2026 Critical
- Multiple Vulnerabilities in SIDIS Prime Before V4.0.800 · Siemens · SSA-485750 · Mar 10, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Third Party Advisory
- cert-portal.siemens.com
- cert-portal.siemens.com