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

- Priority: **Routine**
- Reason: Not severe (CVSS 4.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-09-09 · Modified: 2025-11-03
- Aliases: UBUNTU-CVE-2024-8372, DEBIAN-CVE-2024-8372, CGA-5v9w-3j36-3hfw, CGA-9jxx-g3m6-vwr2, CGA-pq5j-6h5x-9mr7, CGA-rwq8-75xv-9q3f, GHSA-m9gf-397r-hwpg
- Record: https://cvemate.com/vulnerability/CVE-2024-8372 · JSON: https://cvemate.com/vulnerability/CVE-2024-8372/json

## Description

```text
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 .
```

## Signals

- CVSS: 4.8 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
- EPSS: 0.609%, percentile 50.619%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 2 (reference)

## Affected

- angularjs angularjs: ≥ 1.3.1, ≤ 1.8.3 \| 1.3.0:rc4 \| 1.3.0:rc5
- chainguard solr (Chainguard): \< 9.8.1-r0
- chainguard solr-oci-compat (Chainguard): \< 9.8.1-r0
- wolfi solr (Wolfi): \< 9.8.1-r0
- wolfi solr-oci-compat (Wolfi): \< 9.8.1-r0
- debian angular.js (Debian): \< 1.8.3-1+deb12u1 \| \< 1.8.3-2
- ubuntu angular.js (Ubuntu): \< 1.5.10-1ubuntu0.1~esm1 \| \< 1.7.9-1ubuntu0.1~esm1 \| \< 1.8.2-2ubuntu0.1 \| \< 1.8.3-1ubuntu0.24.04.1
- google angularjs: ≥ 1.3.0-rc.4 (No fix recorded)
- netapp active\_iq\_unified\_manager: na
- Npm angular (Npm): ≥ 1.3.0-rc.4, ≤ 1.8.3

## References

- <https://www.herodevs.com/vulnerability-directory/cve-2024-8372>
- <https://codepen.io/herodevs/full/xxoQRNL/0072e627abe03e9cda373bc75b4c1017>
- <https://security.netapp.com/advisory/ntap-20241122-0002/>
- <https://lists.debian.org/debian-lts-announce/2025/07/msg00005.html>
- <https://ubuntu.com/security/CVE-2024-8372>
- <https://www.cve.org/CVERecord?id=CVE-2024-8372>
- <https://ubuntu.com/security/notices/USN-7958-1>
- <https://security-tracker.debian.org/tracker/CVE-2024-8372>
- <https://registry.npmjs.org>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/8xxx/CVE-2024-8372.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-8372>
- <https://github.com/angular/angular.js>
- <https://security.netapp.com/advisory/ntap-20241122-0002>

---

Data as of 2026-12-05T02:45:49.715Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
