GHSA-m9gf-397r-hwpg
AngularJS allows attackers to bypass common image source restrictions
Details
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.
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 .
Are you affected?
Enter the version of the package you're using.
Affected packages
1.3.0-rc.4No fixed version published yet for angular (npm). Pin to a known-safe version or switch to an alternative.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-8372[ADVISORY]
- https://codepen.io/herodevs/full/xxoQRNL/0072e627abe03e9cda373bc75b4c1017[WEB]
- https://github.com/angular/angular.js[PACKAGE]
- https://lists.debian.org/debian-lts-announce/2025/07/msg00005.html[WEB]
- https://security.netapp.com/advisory/ntap-20241122-0002[WEB]
- https://www.herodevs.com/vulnerability-directory/cve-2024-8372[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:npm/angular"]}'