{"id":"GHSA-m9gf-397r-hwpg","summary":"AngularJS allows attackers to bypass common image source restrictions","details":"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 .\n\nThis issue affects AngularJS versions 1.3.0-rc.4 and greater.\n\nNote:\nThe 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 .","aliases":["CVE-2024-8372"],"modified":"2026-07-17T21:08:48.782601587Z","published":"2024-09-09T15:30:41Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2024-09-09T20:19:45Z","nvd_published_at":"2024-09-09T15:15:12Z","cwe_ids":["CWE-1289"],"severity":"LOW"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8372"},{"type":"WEB","url":"https://codepen.io/herodevs/full/xxoQRNL/0072e627abe03e9cda373bc75b4c1017"},{"type":"PACKAGE","url":"https://github.com/angular/angular.js"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/07/msg00005.html"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20241122-0002"},{"type":"WEB","url":"https://www.herodevs.com/vulnerability-directory/cve-2024-8372"}],"affected":[{"package":{"name":"angular","ecosystem":"npm","purl":"pkg:npm/angular"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.3.0-rc.4"},{"last_affected":"1.8.3"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/09/GHSA-m9gf-397r-hwpg/GHSA-m9gf-397r-hwpg.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L"},{"type":"CVSS_V4","score":"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"}]}