# CVE-2024-8373: AngularJS improper sanitization in '<source>' element

- 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.64%, higher than 51% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2024-09-09T14:48:41.513Z
- Modified: 2026-09-10T03:50:18.929Z
- Also known as: GHSA-mqm9-c95h-x2p6
- Weaknesses: CWE-791
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: HeroDevs

## Description

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 .

(As written by CVE List.)

## Affected

- angular: >=0.0.0
- angularjs angular.js: before *
- angular (npm): up to 1.8.3
- angularjs angularjs: up to 1.8.3
- 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-8373> (exploit, third-party-advisory, web)
- <https://codepen.io/herodevs/full/bGPQgMp/8da9ce87e99403ee13a295c305ebfa0b> (exploit, technical-description, third-party-advisory, web)
- <https://security.netapp.com/advisory/ntap-20241122-0003/> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/07/msg00005.html> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-8373> (advisory)
- <https://github.com/angular/angular.js> (package)
- <https://security.netapp.com/advisory/ntap-20241122-0003> (web)

## Sources

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

---

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