cve.bz

CVE-2025-66412 angular angular: Cross-site Scripting

8.5 highEPSS 0.4%Fix available

High (8.5) in angular angular. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in @angular/compiler 19.2.17, 20.3.15, 21.0.2.

On this page
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.

Severity

CVSS 4.0

8.5 high
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

CVSS 3.1

5.4 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 33rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-12-02. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-66412 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-66412?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-66412?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-66412 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
angular:angularthrough 18.2.14
angular:angularfrom 19.0.0 before 19.2.17
angular:angularfrom 20.0.0 before 20.3.15
angular:angularfrom 21.0.0 before 21.0.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-v4hv-rgfq-gp49npm@angular/compiler>=21.0.0-next.0 <21.0.221.0.2
GHSA-v4hv-rgfq-gp49npm@angular/compiler>=20.0.0-next.0 <20.3.1520.3.15
GHSA-v4hv-rgfq-gp49npm@angular/compiler>=19.0.0-next.0 <19.2.1719.2.17
GHSA-v4hv-rgfq-gp49npm@angular/compiler<=18.2.14no fix published

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu22.04:LTS, 24.04:LTS, 25.10 and 5 moreangular.jsno fix listedUBUNTU-CVE-2025-66412
Red Hatjboss_enterprise_application_platform_eus:7.3::el7eap7-apache-cxf, eap7-apache-cxf-rt, eap7-apache-cxf-tools and 1 more0:3.4.10-4.SP2_redhat_00004.1.el7eapRHSA-2026:33371
Red Hatjboss_enterprise_application_platform_eus:7.3::el7eap7-undertow0:2.0.41-8.SP9_redhat_00001.1.el7eapRHSA-2026:33371
Red Hatjboss_enterprise_application_platform_eus:7.3::el7eap7-wildfly, eap7-wildfly-modules, eap7-wildfly-javadocs and 2 more0:7.3.18-3.GA_redhat_00001.1.el7eapRHSA-2026:33371

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · Red Hat.

Red Hat

Red Hat rates this Important.

Red Hat's mitigation

You could always manually sanitize user-controlled input or Disable or restrict dynamic SVG/MathML usage where possible in order to mitigate this flaw.

ProductPackageStateAdvisory
Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7eap7-wildfly-0:7.3.18-3.GA_redhat_00001.1.el7eapFixed 2026-06-30RHSA-2026:33371
Red Hat Ceph Storage 9.2rhceph/rhceph-9-rhel10:1790843527Fixed 2026-10-21RHSA-2026:86618
Logging Subsystem for Red Hat OpenShiftopenshift-logging/kibana6-rhel8Will not fix
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/volsync-operator-bundleNot affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/volsync-rhel9Not affected
Red Hat Ceph Storage 5cephAffected
Red Hat Ceph Storage 6cephAffected
Red Hat Ceph Storage 7cephAffected
Red Hat Ceph Storage 8cephAffected
Red Hat Enterprise Linux 10cephAffected
Red Hat Enterprise Linux 10firefoxNot affected
Red Hat Enterprise Linux 10gjsWill not fix
Red Hat Enterprise Linux 10grafanaNot affected
Red Hat Enterprise Linux 10intel-cmt-catAffected
Red Hat Enterprise Linux 10thunderbirdNot affected
Red Hat Enterprise Linux 7firefoxWill not fix
Red Hat Enterprise Linux 8dotnet5.0-build-reference-packagesNot affected
Red Hat Enterprise Linux 8firefoxNot affected
Red Hat Enterprise Linux 8grafanaNot affected
Red Hat Enterprise Linux 8intel-cmt-catAffected
22 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-66412.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-26-188-05Siemens SINEC OS2026-06-02Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesRUGGEDCOM RST2428P (6GK6242-6PA00)none listed
ICSA-26-071-03Siemens SIDIS Prime2026-03-10Critical ManufacturingSIDIS Primenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
  • CAPEC-592 Stored XSS Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON