Vulnerabilities/

AngularJS improperly sanitizes SVG elements

Severity:
Low

Description

Improper sanitization of the value of the ‘href’ and ‘xlink:href’ attributes in ‘' SVG elements in AngularJS allows attackers to bypass common image source restrictions. This can lead to a form of Content Spoofing https://owasp.

Recommendation

No fix is available yet. Followings are affected versions:

References

Related Issues

Tags:
npm
angular
Anything's wrong? Let us know Last updated on November 03, 2025