# CVE-2025-66412: Angular Stored XSS Vulnerability via SVG Animation, SVG URL and MathML Attributes

- Priority: **Routine**
- Reason: Not severe (CVSS 8.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-12-01 · Modified: 2026-06-02
- Aliases: UBUNTU-CVE-2025-66412, DEBIAN-CVE-2025-66412, CGA-2q29-54r6-657j, CGA-2vrm-mhg4-w9mp, CGA-363p-h26r-gggx, CGA-39rv-rch6-82j4, CGA-3jw4-56mp-8vf3, CGA-3mv2-37c6-5w4f, CGA-4628-3pqg-ccqx, CGA-4hxr-m882-rm37, CGA-57x5-34xh-qvh3, CGA-5grw-vhrr-4766, CGA-5q4p-r5rc-c55g, CGA-5qjh-5mvv-r8mj, CGA-63c9-x327-x2rm, CGA-652h-585q-c76f, CGA-6hfh-m955-4g8m, CGA-6v55-j4mh-25c2, CGA-72q7-xqw6-7h5x, CGA-7g3w-245p-wjcv, CGA-96p3-j8v4-m4pf, CGA-9g6q-cvjx-mpr2, CGA-9j73-4m9g-w26v, CGA-9mc9-3cpq-frpx, CGA-9q57-xxpr-43vm, CGA-9rv4-89q2-f285, CGA-9wcg-p99w-wffq, CGA-c2xm-26v3-cm7q, CGA-fh93-32c8-h3gr, CGA-fr48-3fc2-jv49, CGA-g39h-rj74-637c, CGA-g3fm-57vg-88fh, CGA-gqmg-g3w5-452m, CGA-grh4-3j57-cr2j, CGA-h2h7-2vg8-3r3h, CGA-j442-6cw4-5j2h, CGA-j4cm-f6hc-78mm, CGA-j4v4-mv94-8jxp, CGA-j644-xpgq-62fm, CGA-jvcr-4g5h-33wc, CGA-jw2p-jf35-vm8r, CGA-m2fh-7xqf-78q5, CGA-mqjm-8r63-64xj, CGA-p6rj-wfr7-h5hv, CGA-pjqh-9x2r-3v8v, CGA-pvwg-63m8-rr37, CGA-rqx7-84cv-7gq8, CGA-v687-f3pv-w3fw, CGA-vhqx-59g4-mfcj, CGA-vpqv-pf44-rrhc, CGA-vqm3-v57r-7hv3, CGA-vx23-5888-8v55, CGA-w562-qfmw-4534, CGA-wm76-4hr5-cwcq, CGA-wm87-86qm-x2g6, CGA-wmh8-3qgx-663v, CGA-wr7q-ww22-h7qf, CGA-xm9c-v52f-6464, GHSA-v4hv-rgfq-gp49
- Record: https://cvemate.com/vulnerability/CVE-2025-66412 · JSON: https://cvemate.com/vulnerability/CVE-2025-66412/json

## Description

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

## Signals

- CVSS: 8.5 high (v4.0, CVE.org) 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
- EPSS: 0.383%, percentile 34.517%, 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: ≥ 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
- chainguard katib-earlystopping (Chainguard): \< 0.19.0-r31
- chainguard katib-suggestion-goptuna-compat (Chainguard): All versions (No fix recorded) \| \< 0.19.0-r40
- chainguard katib-suggestion-hyperband (Chainguard): \< 0.19.0-r31
- chainguard katib-suggestion-hyperopt (Chainguard): \< 0.19.0-r31 \| \< 0.19.0-r40
- 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): All versions (No fix recorded) \| \< 0.19.0-r40
- wolfi katib-suggestion-hyperband (Wolfi): \< 0.19.0-r31
- wolfi katib-suggestion-hyperopt (Wolfi): \< 0.19.0-r31 \| \< 0.19.0-r40
- 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-v4hv-rgfq-gp49>
- <https://github.com/angular/angular/commit/1c6b0704fb63d051fab8acff84d076abfbc4893a>
- <https://cert-portal.siemens.com/productcert/html/ssa-485750.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-253495.html>
- <https://ubuntu.com/security/CVE-2025-66412>
- <https://www.cve.org/CVERecord?id=CVE-2025-66412>
- <https://security-tracker.debian.org/tracker/CVE-2025-66412>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/66xxx/CVE-2025-66412.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-66412>
- <https://github.com/angular/angular>

---

Data as of 2026-12-05T06:42:45.269Z. 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
