Vulnerabilities/

AngularJS Incomplete Filtering of Special Elements vulnerability

Severity:
Medium

Description

Improper sanitization of the value of the ‘href’ and ‘xlink:href’ attributes in ‘' SVG elements in AngularJS's 'ngSanitize' module 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-sanitize
Anything's wrong? Let us know Last updated on November 03, 2025