CVE-2024-8372
AngularJS improper sanitization in 'srcset' attribute
Reported by herodevs · Published September 9, 2024
angular is fixed in 1.8.3 (npm)
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 .
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| angular | npm | 1.8.3 |
| solr | Wolfi | 9.8.1-r0 |
| solr | Chainguard | 9.8.1-r0 |
| angularjs | angularjs | 1.8.3 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| AngularJS | >=1.3.0-rc.4 | |
| wolfi | solr | 0 |
| npm | angular | 1.3.0-rc.4 |
| angularjs | angular.js | 1.3.0-rc.4 |
| chainguard | solr | 0 |
| AngularJS | >=1.3.0-rc.4 |
Timeline
- Sep 9, 2024 CVE Published
- Sep 10, 2024 EPSS Score (30 in total, the first dated here)
- Oct 5, 2024 Coalition ESS Score (26 in total, the first dated here)
- Nov 3, 2025 CVE Updated
- Mar 10, 2026 Security Advisory (2 in total, the first dated here)
- Nov 22, 2026 Distribution Patch
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-8372
vulnetix vdb fixes CVE-2024-8372
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-8372/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- third-party-advisory
- technical-descriptionexploit
- https://nvd.nist.gov/vuln/detail/CVE-2024-8372 advisory
- https://github.com/advisories/GHSA-m9gf-397r-hwpg advisory
- https://github.com/angular/angular.js url
- https://security.netapp.com/advisory/ntap-20241122-0002 advisory
- https://security.netapp.com/advisory/ntap-20241122-0002/ url
- https://lists.debian.org/debian-lts-announce/2025/07/msg00005.html url