CVEBrief

Home / angular / angular / CVE-2025-66412

CVE-2025-66412: is it exploited, and which versions of angular are affected and fixed?

CVE-2025-66412 is a cross-site scripting (XSS) vulnerability in angular. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:39 UTC). Affected: @angular/compiler from 21.0.0-next.0 before 21.0.2, @angular/compiler from 20.0.0-next.0 before 20.3.15, @angular/compiler from 19.0.0-next.0 before 19.2.17 and 1 more (GitHub advisory GHSA-v4hv-rgfq-gp49). Fixed in 21.0.2, 20.3.15 and 19.2.17 (GitHub advisory GHSA-v4hv-rgfq-gp49). Severity: High (8.5, CVSS 4.0, from GitHub_M).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:39 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:15 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 18:39 UTC
Affected
@angular/compiler from 21.0.0-next.0 before 21.0.2, @angular/compiler from 20.0.0-next.0 before 20.3.15, @angular/compiler from 19.0.0-next.0 before 19.2.17 and 1 more
GitHub advisory GHSA-v4hv-rgfq-gp49
Fixed in
21.0.2, 20.3.15 and 19.2.17
GitHub advisory GHSA-v4hv-rgfq-gp49
Severity
High 8.5
CVSS 4.0 from GitHub_M
Exploit odds (EPSS)
0.38% in 30 days
higher than 35% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2025-66412?

Angular Stored XSS Vulnerability via SVG Animation, SVG URL and MathML Attributes

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.

From the CVE record by GitHub_M, last updated June 2, 2026, 13:00 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
angularangular>= 21.0.0-next.0 < 21.0.2
>= 20.0.0-next.0 < 20.3.15
>= 19.0.0-next.0 < 19.2.17
<= 18.2.14

As the CVE record by GitHub_M states it, last updated June 2, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
npm@angular/compiler>= 21.0.0-next.0, < 21.0.221.0.2GHSA-v4hv-rgfq-gp49
npm@angular/compiler>= 20.0.0-next.0, < 20.3.1520.3.15GHSA-v4hv-rgfq-gp49
npm@angular/compiler>= 19.0.0-next.0, < 19.2.1719.2.17GHSA-v4hv-rgfq-gp49
npm@angular/compiler<= 18.2.14none listedGHSA-v4hv-rgfq-gp49

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated June 9, 2026. Summary: Angular Stored XSS Vulnerability via SVG Animation, SVG URL and MathML Attributes.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
angularangularthrough 18.2.14application
angularangularfrom 19.0.0 before 19.2.17application
angularangularfrom 20.0.0 before 20.3.15application
angularangularfrom 21.0.0 before 21.0.2application

NVD analysis (status Modified), last modified October 18, 2026, 18:10 UTC.

How severe is CVE-2025-66412?

ScoreVersionVectorSource
High 8.5CVSS 4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NGitHub_M
Medium 5.4CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2025-66412 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: no; technical impact: partial (CISA ADP, December 2, 2025)
EPSS
0.38% probability of exploitation activity in the next 30 days, percentile 34.5 (FIRST EPSS, scores of December 3, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
November 28, 2025
Published
December 1, 2025, 22:35 UTC
CVE record updated
June 2, 2026, 13:00 UTC by GitHub_M
NVD
Modified, last modified October 18, 2026, 18:10 UTC
Last checked
CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:15 UTC; KEV December 3, 2026, 18:39 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

What other CVEs affect angular?

Every CVE in angular

Questions about CVE-2025-66412

Is CVE-2025-66412 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:39 UTC. FIRST's EPSS gives it a 0.38% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of angular are affected by CVE-2025-66412?

@angular/compiler from 21.0.0-next.0 before 21.0.2, @angular/compiler from 20.0.0-next.0 before 20.3.15, @angular/compiler from 19.0.0-next.0 before 19.2.17 and @angular/compiler through 18.2.14, per the GitHub advisory GHSA-v4hv-rgfq-gp49. The tables above give every range the sources list.

Which version fixes CVE-2025-66412?

21.0.2, 20.3.15 and 19.2.17, per the GitHub advisory GHSA-v4hv-rgfq-gp49. Check the vendor's advisory before you rely on it.

How severe is CVE-2025-66412?

High (8.5, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.

Where is the official record of CVE-2025-66412?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.