Red Hat VEX
RHVEX-CVE-2025-66412
angular: Angular Stored XSS Vulnerability via SVG Animation, SVG URL and MathML Attributes
Details
A flaw exists in the template compiler of Angular as it fails to properly classify certain URL-bearing attributes (including SVG and MathML attributes such as href, xlink:href, or the attributeName of SVG animation elements) as requiring strict sanitization. As a result, an attacker who can supply untrusted data bound to those attributes may inject a malicious javascript: URL or script that persists (Stored XSS), which can execute in the context of the application's origin when rendered.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:10 | gjs | All versions, will not be fixed |
| Red Hat:enterprise_linux:10 | gjs-devel | All versions, will not be fixed |
| Red Hat:enterprise_linux:10 | intel-cmt-cat | All versions, no fix yet |
| Red Hat:enterprise_linux:10 | intel-cmt-cat-devel | All versions, no fix yet |
| Red Hat:enterprise_linux:10 | librados-devel | All versions, no fix yet |
| Red Hat:enterprise_linux:10 | librados2 | All versions, no fix yet |
| Red Hat:enterprise_linux:10 | libradospp-devel | All versions, no fix yet |
| Red Hat:enterprise_linux:10 | librbd-devel | All versions, no fix yet |
| Red Hat:enterprise_linux:10 | librbd1 | All versions, no fix yet |
| Red Hat:enterprise_linux:7 | firefox | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | intel-cmt-cat | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | intel-cmt-cat-devel | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | mozjs60 | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | mozjs60-devel | All versions, will not be fixed |
| Red Hat:enterprise_linux:9 | gjs | All versions, will not be fixed |
| Red Hat:enterprise_linux:9 | gjs-devel | All versions, will not be fixed |
| Red Hat:enterprise_linux:9 | intel-cmt-cat | All versions, no fix yet |
| Red Hat:enterprise_linux:9 | intel-cmt-cat-devel | All versions, no fix yet |
| Red Hat:enterprise_linux:9 | librados-devel | All versions, no fix yet |
| Red Hat:enterprise_linux:9 | librados2 | All versions, no fix yet |
| Red Hat:enterprise_linux:9 | libradospp-devel | All versions, no fix yet |
| Red Hat:enterprise_linux:9 | librbd-devel | All versions, no fix yet |
| Red Hat:enterprise_linux:9 | librbd1 | All versions, no fix yet |
References
- https://access.redhat.com/security/cve/CVE-2025-66412
- https://bugzilla.redhat.com/show_bug.cgi?id=2418155
- https://www.cve.org/CVERecord?id=CVE-2025-66412
- https://nvd.nist.gov/vuln/detail/CVE-2025-66412
- https://github.com/angular/angular/commit/1c6b0704fb63d051fab8acff84d076abfbc4893a
- https://github.com/angular/angular/security/advisories/GHSA-v4hv-rgfq-gp49