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

- Severity: High 8.5 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 34% of CVEs (2026-12-01)
- Published: 2025-12-01T22:35:59.211Z
- Modified: 2026-10-18T18:10:00.100Z
- Also known as: GHSA-v4hv-rgfq-gp49
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- angular angular: >= 21.0.0-next.0 < 21.0.2; >= 20.0.0-next.0 < 20.3.15; >= 19.0.0-next.0 < 19.2.17; <= 18.2.14; up to 18.2.14; from 19.0.0 before 19.2.17; from 20.0.0 before 20.3.15; from 21.0.0 before 21.0.2
- @angular/compiler (npm): from 21.0.0-next.0 before 21.0.2; from 20.0.0-next.0 before 20.3.15; from 19.0.0-next.0 before 19.2.17; up to 18.2.14

## Every score

- GitHub_M: 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`
- GitHub: CVSS:4.0 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`
- NVD: 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`

## References

- <https://github.com/angular/angular/security/advisories/GHSA-v4hv-rgfq-gp49> (third-party-advisory, web)
- <https://github.com/angular/angular/commit/1c6b0704fb63d051fab8acff84d076abfbc4893a> (patch, web)
- <https://cert-portal.siemens.com/productcert/html/ssa-485750.html> (web)
- <https://cert-portal.siemens.com/productcert/html/ssa-253495.html> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-66412> (advisory)
- <https://github.com/angular/angular> (package)

## Sources

- CVE List: [CVE-2025-66412](https://www.cve.org/CVERecord?id=CVE-2025-66412), CVE Terms of Use, modified 2026-06-02
- GitHub Advisory Database: [GHSA-v4hv-rgfq-gp49](https://github.com/advisories/GHSA-v4hv-rgfq-gp49), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-66412](https://nvd.nist.gov/vuln/detail/CVE-2025-66412), Public domain, modified 2026-10-18

---

Page: https://cve.day/CVE-2025-66412 · Whole record: https://cve.day/CVE-2025-66412.json · Rebuilt by cve.day 2026-11-25T22:59:08.153Z
