Live threats

All CVEs / Angular

CVE-2025-66412Angular

High 8.5

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Angular.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
angularangular≤ 18.2.14
angularangular≥ 19.0.0 < 19.2.17
angularangular≥ 20.0.0 < 20.3.15
angularangular≥ 21.0.0 < 21.0.2

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.