Vulnerability library
Security checkNovember 03, 2025

AngularJS allows attackers to bypass common image source restrictions - angular

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Low severitynpmangular

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

Improper sanitization of the value of the [srcset] attribute in <source> HTML elements in AngularJS allows attackers to bypass common image source restrictions, which can also lead to a form of Content Spoofing https://owasp.org/www-community/attacks/Content_Spoofing .

This issue affects all versions of AngularJS.

Recommendation

No fix is available yet. Followings are affected versions:

  • <= 1.8.3

References

Could your website be exposed too?

SmartScanner can check your website for AngularJS allows attackers to bypass common image source restrictions - angular and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated November 03, 2025