Vulnerability library
Security checkNovember 03, 2025

AngularJS allows attackers to bypass common image source restrictions

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 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 AngularJS versions 1.3.0-rc.4 and greater.

Recommendation

No fix is available yet. Followings are affected versions:

  • >= 1.3.0-rc.4, <= 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 and gives you actionable findings to investigate.

Start a free scan

Related Issues

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