CVE-2025-0716
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 .
CWE
- CWE-791 — CWE-791: Incomplete Filtering of Special Elements
Affected
- Google / AngularJS — v=>=0.0.0 [affected]
CVSS
- 3.1 score=4.8 severity=MEDIUM
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
Source
cvelistV5-main/cves/2025/0xxx/CVE-2025-0716.json