CVE-2025-0716: AngularJS improper sanitization in SVG '<image>' element
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/ContentSpoofing 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 Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-0716?
CVE-2025-0716 is rated with a medium severity due to potential content spoofing risks.
How do I fix CVE-2025-0716?
To fix CVE-2025-0716, ensure proper sanitization of 'href' and 'xlink:href' attributes in SVG elements.
Which versions of AngularJS are affected by CVE-2025-0716?
CVE-2025-0716 affects all versions of AngularJS up to the current release.
What are the potential impacts of CVE-2025-0716?
CVE-2025-0716 can lead to content spoofing, allowing attackers to display misleading content.
Is CVE-2025-0716 exploitable in all deployments of AngularJS?
CVE-2025-0716 is exploitable in all deployments that utilize vulnerable SVG handling without proper safeguards.