Vulnerability · Published Apr 29, 2025 · Assigned by HeroDevs
CVE-2025-0716AngularJS improper sanitization in SVG '<image>' element
Medium 4.8
In plain English
A medium-severity security flaw in AngularJS from Google. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 36% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Improper sanitization of the value of the 'href' and 'xlink:href' attributes in '<image>' SVG elements in AngularJS allows attackers to bypass common image source restrictions. This can lead to a form of Content Spoofing https://owasp.org/www-community/attacks/Content_Spoofing and also negatively affect the application's performance and behavior by using too large or slow-to-load images. This issue affects all versions of AngularJS. Note: The AngularJS project is End-of-Life and will not receive any updates to address this issue. For more information see here https://docs.angularjs.org/misc/version-support-status .
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | angular.js | 1.8.3-1+deb12u1 | DEBIAN-CVE-2025-0716 |
| Debian:13 | angular.js | 1.8.3-2 | DEBIAN-CVE-2025-0716 |
| Ubuntu:22.04:LTS | angular.js | 1.8.2-2ubuntu0.1 | UBUNTU-CVE-2025-0716 |
| Ubuntu:24.04:LTS | angular.js | 1.8.3-1ubuntu0.24.04.1 | UBUNTU-CVE-2025-0716 |
| npm | angular | no fix listed | GHSA-j58c-ww9w-pwp5 |
Affected products (as reported)
Weakness: CWE-791 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
References
- https://www.herodevs.com/vulnerability-directory/cve-2025-0716 third-party-advisory
- https://codepen.io/herodevs/pen/qEWQmpd/a86a0d29310e12c7a3756768e6c7b915 technical-description, exploit
- https://lists.debian.org/debian-lts-announce/2025/07/msg00005.html