CVE-2025-0716: AngularJS improper sanitization in SVG '<image>' element

Published 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/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

2 affected components
Google AngularJS<
npm/angular<=1.8.3

Event History

Apr 29, 2025
CVE Published
via MITRE·04:26 PM
Data Sourced
via MITRE·04:26 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:15 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·06:30 PM

Frequently Asked Questions

1

What is the severity of CVE-2025-0716?

CVE-2025-0716 is rated with a medium severity due to potential content spoofing risks.

2

How do I fix CVE-2025-0716?

To fix CVE-2025-0716, ensure proper sanitization of 'href' and 'xlink:href' attributes in SVG elements.

3

Which versions of AngularJS are affected by CVE-2025-0716?

CVE-2025-0716 affects all versions of AngularJS up to the current release.

4

What are the potential impacts of CVE-2025-0716?

CVE-2025-0716 can lead to content spoofing, allowing attackers to display misleading content.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203