Vulnerability
CVE-2026-52725
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.
59 advisories report this vulnerability, across 5 ecosystems.
Advisories
- CGA-26xr-57xv-65gm
- CGA-2775-wxxj-5m48
- CGA-29r2-p7fr-xcw3
- CGA-367g-rjfg-pgp8
- CGA-3cj7-wrr3-9v2m
- CGA-3q44-v6cx-vh85
- CGA-5qvj-8q26-f744
- CGA-5wcr-hpgm-pj8g
- CGA-5xc4-x7xh-hw4w
- CGA-6g4j-mw87-3gg2
- CGA-6qrj-5qv2-5ww9
- CGA-6xvc-rj2f-8wf7
- CGA-759g-jwmh-q64x
- CGA-7fqq-89rw-4jq4
- CGA-85gv-6p3j-444j
- CGA-8j8r-mgqf-97p2
- CGA-8vw6-cg8p-h7pr
- CGA-9p79-jp32-5233
- CGA-c9p9-vqq4-fhf2
- CGA-cch4-r29f-7gr5
- CGA-cjg7-mhxr-5wj5
- CGA-cwh8-wmjh-7h47
- CGA-fg9v-2chf-gwhf
- CGA-fr8w-7339-p26x
- CGA-g89v-2jx9-w94r
- CGA-gr6c-m3p2-4j76
- CGA-hm56-pchw-cjgv
- CGA-hqr2-qr56-qjv5
- CGA-j7vf-82hp-43f3
- CGA-jp7x-936p-pjrg
- CGA-mc83-4c2j-g324
- CGA-mcrx-2h33-w4vj
- CGA-mq6q-f72w-q877
- CGA-mqg7-5vg4-pfgq
- CGA-mrmg-xjwm-c3cx
- CGA-mw3v-36qq-m8ww
- CGA-mwp7-6mvv-844r
- CGA-pxgc-r8j8-hh47
- CGA-q6mv-2j9v-q4qw
- CGA-qm9q-764g-xq32
- CGA-qvpq-x94f-h924
- CGA-r3m7-h7hm-hhgq
- CGA-r3vc-6m67-hggj
- CGA-r55r-gxj7-7ww6
- CGA-r6f5-2jm2-mwhf
- CGA-r7hg-rjm9-5j95
- CGA-rc32-64gr-vfwj
- CGA-rfqv-5p4h-rh5c
- CGA-vj45-wq3j-v5r6
- CGA-vj9c-2q35-5h2p
- CGA-vrfp-rq4m-xvj3
- CGA-wgx9-rg48-82v3
- CGA-x6pm-j857-vmrq
- CGA-xrqp-7p3r-829g
- CGA-xwfj-p53p-39jf
- CGA-xxgf-hwhr-xj6g
-
DEBIAN-CVE-2026-52725
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…
-
GHSA-692r-grfm-v8x7
@angular/core: Angular Template and Dynamic Component Namespace Bypass leading to Cross-Site Scripting (XSS)
-
UBUNTU-CVE-2026-52725
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…