CVE-2024-8372AngularJS improper sanitization in 'srcset' attribute
- 4.8MediumCVSS base score
- 0.61%Exploitation in 30 daysEPSS · top 50% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- YesPublic exploitsa reference or SSVC says so
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. 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 .
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. A reference of the record is tagged as an exploit. CISA's SSVC rates its exploitation: a proof of concept is public.
Show the exploits1
References tagged exploit1 reference
- https://codepen.io/herodevs/full/xxoQRNL/0072e627abe03e9cda373bc75b4c1017 (opens in a new tab)technical-descriptionexploit
Timeline
ID reserved
By HeroDevs
- 7 days later
· 7 days later
Published
- 14 months later
· 14 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| HeroDevsCNA (assigner) | 3.1 | Medium4.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L |
| NVDNVD · Modified | 3.1 | Medium4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N |
- EPSS (exploitation in 30 days)
- 0.61% · top 50% of all CVEs (14 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.8.
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- npmangularGHSA-m9gf-397r-hwpg (opens in a new tab)
References
References4
- https://www.herodevs.com/vulnerability-directory/cve-2024-8372 (opens in a new tab)third-party-advisory
- https://codepen.io/herodevs/full/xxoQRNL/0072e627abe03e9cda373bc75b4c1017 (opens in a new tab)technical-descriptionexploit
- https://security.netapp.com/advisory/ntap-20241122-0002/ (opens in a new tab)
- https://lists.debian.org/debian-lts-announce/2025/07/msg00005.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-2834 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-m9gf-397r-hwpg (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-8372)Record last updated .