CVE-2024-8373
AngularJS improper sanitization in '<source>' element
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 <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. 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 | Chainguard | 9.8.1-r0 |
| solr | Wolfi | 9.8.1-r0 |
| angularjs | angularjs | 1.8.3 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| AngularJS | >=0.0.0 | |
| chainguard | solr | 0 |
| npm | angular | 0 |
| wolfi | solr | 0 |
| angularjs | angular.js | 0 |
| AngularJS | >=0.0.0 |
Timeline
- Sep 9, 2024 CVE Published
- Sep 10, 2024 EPSS Score (30 in total, the first dated here)
- Oct 5, 2024 Coalition ESS Score (27 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-8373
vulnetix vdb fixes CVE-2024-8373
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-8373/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-8373 advisory
- https://github.com/advisories/GHSA-mqm9-c95h-x2p6 advisory
- https://github.com/angular/angular.js url
- https://security.netapp.com/advisory/ntap-20241122-0003 advisory
- https://security.netapp.com/advisory/ntap-20241122-0003/ url
- https://lists.debian.org/debian-lts-announce/2025/07/msg00005.html url