CVE-2026-52725 json
Angular Template and Dynamic Component Namespace Bypass leading to Cross-Site Scripting (XSS)
published 5mo ago modified 2mo ago also EUVD-2026-38261 , GHSA-692r-grfm-v8x7
- cvss
- 6.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 40%
- public exploits
- 0
- none known
Summary
Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to 22.0.0-rc.2, 21.2.15, 20.3.22, and 19.2.23, an issue in the @angular/core package allows bypassing script-execution restrictions during dynamic component creation. Specifically, the dynamic component instantiation mechanism (createComponent) failed to reject mounting components directly onto a <script> or namespaced script element (such as <svg:script>). This enabled the initialization of custom components on a tag that executes scripts, allowing attackers to hijack or inject script-executing hosts. This flaw enables an attacker who can control the host element or selector parameter passed to createComponent to initialize or mount an Angular component directly onto a <script> tag, leading to execution of untrusted code or client-side Cross-Site Scripting (XSS). This vulnerability is fixed in 22.0.0-rc.2, 21.2.15, 20.3.22, and 19.2.23.
Patch / fix
- npm @angular/core 19.2.23, 20.3.22, 21.2.15, 22.0.0-rc.2
- angular angular 19.2.22, 20.3.22, 21.2.15, 22.0.0-rc.2
- github.com/angular/angular#68686 pull request
- github.com/angular/angular#68713 pull request
Is CVE-2026-52725 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-52725 updated cvss 6.8
@angular/core: @angular/core: Cross-Site Scripting (XSS) via dynamic component creation bypass
-
Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/volsync-rhel9, rhacm2/volsync-operator-bundleaffected: workaround, no fix available “Fix deferred”
-
Red Hat Fuse 7 coreaffected: workaround, no fix planned “Will not fix”
-
Red Hat build of Apicurio Registry 3 apicurio/apicurio-registry-ui-rhel8, apicurio/apicurio-registry-ui-rhel9 Red Hat Ceph Storage 4 ceph, librbd1, librgw2, rbd-nbd, ceph-mds, ceph-mgr, +27 more Red Hat Enterprise Linux 7 firefox Red Hat Enterprise Linux 8 firefox, mozjs60, thunderbird, intel-cmt-cat, dotnet5.0-build-reference-packages Red Hat Enterprise Linux 9 gjs, firefox, librbd1, librados2, firefox-x11, thunderbird, +1 more Red Hat Enterprise Linux 10 gjs, ceph, firefox, thunderbird, intel-cmt-catnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 4mo ago
Exploit prediction
0.46% chance of exploitation in the next 30 days, higher than 40% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 5.3 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| CNA | 4.0 | 5.3 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/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 |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @angular/core | >=21.0.0-next.0, <21.2.15 >=22.0.0-next.0, <22.0.0-rc.2 >=19.0.0-next.0, <19.2.23 <=18.2.14 >=20.0.0-next.0, <20.3.22 |
21.2.15 22.0.0-rc.2 19.2.23 20.3.22 |
Affected products
- angular angular
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/angular/angular/pull/68686
web, issue-tracking, patch
-
github.com
/angular/angular/pull/68713
web, issue-tracking
-
github.com
/angular/angular/security/advisories/GHSA-692r-grfm-v8x7
web, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-52725
advisory
-
github.com
/angular/angular
package
Sources
- CVE List CVE-2026-52725
- GitHub Advisory GHSA-692r-grfm-v8x7
- NVD CVE-2026-52725
- Maintainer advisory GHSA-692r-grfm-v8x7
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of angular/angular published their own advisory on GitHub. Reviewed sources take precedence over it.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.