AngularJS improper sanitization in 'srcset' attribute
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 .
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-8372
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 01:53 UTC · Revision 1
Source evidence
AngularJS improper sanitization in 'srcset' attribute
core-osv · Original sourcePublished 9 Sept 2024, 14:46 UTC
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 .
osv:CVE-2024-8372
Complete source record
{
"id": "0a45672f40e40e670b4c37ac12fbaadeafe4ef15491ac70b17692a53ada74c2c",
"url": "https://osv.dev/vulnerability/CVE-2024-8372",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "AngularJS improper sanitization in 'srcset' attribute",
"summary": "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 .",
"evidence": "osv:CVE-2024-8372",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2024-8372",
"aliases": [
"CVE-2024-8372",
"GHSA-m9gf-397r-hwpg"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/angular/angular.js",
"type": "GIT",
"events": [
{
"introduced": "10644432ca9d5da69ce790a8d9e691640f333711"
},
{
"last_affected": "10644432ca9d5da69ce790a8d9e691640f333711"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": ">=1.3.0-rc.4"
},
{
"last_affected": ">=1.3.0-rc.4"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"cpe": "cpe:2.3:a:angularjs:angularjs:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.3.1"
},
{
"last_affected": "1.8.3"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
">=1.3.0-rc.4",
"v1.3.0-rc.4"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-8372.json"
}
}
],
"modified": "2026-10-28T02:30:48.735690909Z",
"provider": "osv",
"references": [
"https://lists.debian.org/debian-lts-announce/2025/07/msg00005.html",
"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://security.netapp.com/advisory/ntap-20241122-0002/",
"https://www.herodevs.com/vulnerability-directory/cve-2024-8372",
"https://github.com/angular/angular.js",
"https://codepen.io/herodevs/full/xxoQRNL/0072e627abe03e9cda373bc75b4c1017"
],
"provider_metadata": {
"cwe_ids": [
"CWE-1289"
],
"cna_assigner": "HeroDevs",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/8xxx/CVE-2024-8372.json"
}
},
"related_cves": [
{
"value": "CVE-2024-8372",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 517139,
"published_at": "2024-09-09T14:46:03.134+00:00"
}