{"id":"GHSA-mqm9-c95h-x2p6","summary":"AngularJS allows attackers to bypass common image source restrictions","details":"Improper sanitization of the value of the `[srcset]` attribute in `\u003csource\u003e` 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 .\n\nThis issue affects all versions of AngularJS.\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-8373"],"modified":"2026-07-17T21:09:56.917285706Z","published":"2024-09-09T15:30:41Z","database_specific":{"cwe_ids":["CWE-791"],"severity":"LOW","github_reviewed":true,"github_reviewed_at":"2024-09-09T20:19:49Z","nvd_published_at":"2024-09-09T15:15:12Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8373"},{"type":"WEB","url":"https://codepen.io/herodevs/full/bGPQgMp/8da9ce87e99403ee13a295c305ebfa0b"},{"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-0003"},{"type":"WEB","url":"https://www.herodevs.com/vulnerability-directory/cve-2024-8373"}],"affected":[{"package":{"name":"angular","ecosystem":"npm","purl":"pkg:npm/angular"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.8.3"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/09/GHSA-mqm9-c95h-x2p6/GHSA-mqm9-c95h-x2p6.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"}]}