# CVE-2024-8372: AngularJS improper sanitization in 'srcset' attribute

- Severity: Medium 4.8 (CVSS:3.1, scored by HeroDevs) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.61%, higher than 50% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2024-09-09T14:46:03.134Z
- Modified: 2026-09-10T03:50:18.198Z
- Also known as: GHSA-m9gf-397r-hwpg
- Weaknesses: CWE-1289
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: HeroDevs

## 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 .

(As written by CVE List.)

## Affected

- angular: >=1.3.0-rc.4
- angularjs angular.js: from 1.3.0-rc.4 before *
- angular (npm): from 1.3.0-rc.4 up to 1.8.3
- angularjs angularjs: from 1.3.1 up to 1.8.3; 1.3.0
- netapp active_iq_unified_manager: no versions given

## Every score

- HeroDevs: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L`
- GitHub: CVSS:3.1 4.8 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L`
- GitHub: CVSS:4.0 Low `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:P`
- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`

## References

- <https://www.herodevs.com/vulnerability-directory/cve-2024-8372> (exploit, third-party-advisory, web)
- <https://codepen.io/herodevs/full/xxoQRNL/0072e627abe03e9cda373bc75b4c1017> (exploit, technical-description, third-party-advisory, web)
- <https://security.netapp.com/advisory/ntap-20241122-0002/> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/07/msg00005.html> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-8372> (advisory)
- <https://github.com/angular/angular.js> (package)
- <https://security.netapp.com/advisory/ntap-20241122-0002> (web)

## Sources

- CVE List: [CVE-2024-8372](https://www.cve.org/CVERecord?id=CVE-2024-8372), CVE Terms of Use, modified 2025-11-03
- GitHub Advisory Database: [GHSA-m9gf-397r-hwpg](https://github.com/advisories/GHSA-m9gf-397r-hwpg), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-8372](https://nvd.nist.gov/vuln/detail/CVE-2024-8372), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-8372 · Whole record: https://cve.day/CVE-2024-8372.json · Rebuilt by cve.day 2026-11-25T22:58:45.183Z
