# CVE-2026-52725: Angular Template and Dynamic Component Namespace Bypass leading to Cross-Site Scripting (XSS)

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-06-22 · Modified: 2026-06-22
- Aliases: UBUNTU-CVE-2026-52725, DEBIAN-CVE-2026-52725, 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, GHSA-692r-grfm-v8x7
- Record: https://cvemate.com/vulnerability/CVE-2026-52725 · JSON: https://cvemate.com/vulnerability/CVE-2026-52725/json

## Description

```text
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.
```

## Signals

- CVSS: 6.1 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- EPSS: 0.272%, percentile 20.811%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 24)

- angular angular: ≥ 22.0.0-next.0 \< 22.0.0-rc.2 (No fix recorded) \| ≥ 21.0.0-next.0 \< 21.2.15 (No fix recorded) \| ≥ 20.0.0-next.0 \< 20.3.22 (No fix recorded) \| ≥ 19.0.0-next.0 \< 19.2.22 (No fix recorded) \| ≤ 18.2.14 \| ≥ 19.0.0, \< 19.2.23 \| ≥ 20.0.0, \< 20.3.22 \| ≥ 21.0.0, \< 21.2.15 \| 22.0.0:next0 \| 22.0.0:next1 \| 22.0.0:next10 \| 22.0.0:next11 \| 22.0.0:next12 \| 22.0.0:next2 \| 22.0.0:next3 \| 22.0.0:next4 \| 22.0.0:next5 \| 22.0.0:next6 \| 22.0.0:next7 \| 22.0.0:next8 \| 22.0.0:next9 \| 22.0.0:rc0 \| 22.0.0:rc1
- chainguard katib-earlystopping (Chainguard): \< 0.19.0-r31
- chainguard katib-suggestion-goptuna-compat (Chainguard): \< 0.19.0-r40
- chainguard katib-suggestion-hyperband (Chainguard): \< 0.19.0-r31
- chainguard katib-suggestion-hyperopt (Chainguard): \< 0.19.0-r40 \| \< 0.19.0-r31
- chainguard katib-suggestion-nas-darts (Chainguard): \< 0.19.0-r31
- chainguard katib-suggestion-nas-enas (Chainguard): \< 0.19.0-r31
- chainguard katib-suggestion-optuna-enas (Chainguard): \< 0.19.0-r31
- chainguard katib-suggestion-pbt-enas (Chainguard): \< 0.19.0-r31
- chainguard katib-suggestion-skopt-enas (Chainguard): \< 0.19.0-r31
- chainguard katib-tfevent-metricscollector (Chainguard): \< 0.19.0-r31
- wolfi katib-earlystopping (Wolfi): \< 0.19.0-r31
- wolfi katib-suggestion-goptuna-compat (Wolfi): \< 0.19.0-r40
- wolfi katib-suggestion-hyperband (Wolfi): \< 0.19.0-r31
- wolfi katib-suggestion-hyperopt (Wolfi): \< 0.19.0-r40 \| \< 0.19.0-r31
- wolfi katib-suggestion-nas-darts (Wolfi): \< 0.19.0-r31
- wolfi katib-suggestion-nas-enas (Wolfi): \< 0.19.0-r31
- wolfi katib-suggestion-optuna-enas (Wolfi): \< 0.19.0-r31
- wolfi katib-suggestion-pbt-enas (Wolfi): \< 0.19.0-r31
- wolfi katib-suggestion-skopt-enas (Wolfi): \< 0.19.0-r31

## References

- <https://github.com/angular/angular/security/advisories/GHSA-692r-grfm-v8x7>
- <https://github.com/angular/angular/pull/68686>
- <https://github.com/angular/angular/pull/68713>
- <https://ubuntu.com/security/CVE-2026-52725>
- <https://www.cve.org/CVERecord?id=CVE-2026-52725>
- <https://security-tracker.debian.org/tracker/CVE-2026-52725>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52725.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-52725>
- <https://github.com/angular/angular>

---

Data as of 2026-12-05T06:37:27.899Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
