CVE-2025-66412: angular Cross-site Scripting
Vulnerability summary
CVE-2025-66412 is a high (CVSS 8.5) Cross-site Scripting vulnerability in angular. EPSS estimates a 0.41% chance of exploitation in the next 30 days, higher than 34% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 01-12-2025PublishedVulnerability first disclosed.
- 02-06-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
9 scores · 7 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated8.5HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- OSV · DebianEcosystem advisory · calculated8.5HighCVSS: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
- OSV · WolfiEcosystem advisory · calculated8.5HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- OSV · NpmEcosystem advisory · calculated8.5HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- OSV · ChainguardEcosystem advisory · calculated8.5HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- NVDNIST8.5HighCVSS: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
- NVDNIST5.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
EPSS trend
Probability
0.41%
Chance of exploitation in the next 30 days
Percentile
34%
Versus all other CVEs
30-day change
0.00 pp
From 0.41% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard10 products
- katib-earlystopping< 0.19.0-r31
- katib-suggestion-goptuna-compatAll versions (No fix recorded)
- katib-suggestion-hyperband< 0.19.0-r31
- katib-suggestion-hyperopt< 0.19.0-r31 | < 0.19.0-r40
- katib-suggestion-nas-darts< 0.19.0-r31
Wolfi10 products
- katib-earlystopping< 0.19.0-r31
- katib-suggestion-goptuna-compatAll versions (No fix recorded)
- katib-suggestion-hyperband< 0.19.0-r31
- katib-suggestion-hyperopt< 0.19.0-r31 | < 0.19.0-r40
- katib-suggestion-nas-darts< 0.19.0-r31
@angular1 product
- compiler≥ 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
Angular1 product
- angular≥ 21.0.0-next.0 < 21.0.2 (No fix recorded) | ≥ 20.0.0-next.0 < 20.3.15 (No fix recorded) | ≥ 19.0.0-next.0 < 19.2.17 (No fix recorded) | ≤ 18.2.14 | ≥ 19.0.0, < 19.2.17 | ≥ 20.0.0, < 20.3.15 | ≥ 21.0.0, < 21.0.2
Debian1 product
- angular.jsAll versions (No fix recorded)
Ubuntu1 product
- angular.jsAll versions (No fix recorded)
6 vendors · 24 products
References
10 links- github.com/angular/angular/security/advisories/GHSA-v4hv-rgfq-gp49X Refsource CONFIRMREPORTAdvisoryWEBThird Party Advisory
- github.com/angular/angular/commit/1c6b0704fb63d051fab8acff84d076abfbc4893aX Refsource MISCREPORTFIXWEBPatch
- github.com/angular/angularPACKAGE