First published: Tue Apr 29 2025(Updated: )
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 .
Credit: 36c7be3b-2937-45df-85ea-ca7133ea542c
Affected Software | Affected Version | How to fix |
---|---|---|
AngularJS | < | |
npm/angular | <=1.8.3 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2025-0716 is rated with a medium severity due to potential content spoofing risks.
To fix CVE-2025-0716, ensure proper sanitization of 'href' and 'xlink:href' attributes in SVG elements.
CVE-2025-0716 affects all versions of AngularJS up to the current release.
CVE-2025-0716 can lead to content spoofing, allowing attackers to display misleading content.
CVE-2025-0716 is exploitable in all deployments that utilize vulnerable SVG handling without proper safeguards.