CVE-2024-8373
published medium CVSS 3.1 · 4.8AngularJS improper sanitization in '<source>' element
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| — | angularAngularJS · >=0.0.0 · Other versions: unaffected | Affected | Not stated | HeroDevs | |
| angularjs | — | angular.js0 and later · Other versions: unknown | Affected | Not stated | CISA-ADP |
| Debian | bullseye | angular.js | Advisory build | 1.8.3-1+deb12u1~deb11u1 | DLA-4242-1 |
| Ubuntu | bionic | angular.js | Advisory build | 1.5.10-1ubuntu0.1~esm1 | USN-7958-1 |
| Ubuntu | focal | angular.js | Advisory build | 1.7.9-1ubuntu0.1~esm1 | USN-7958-1 |
| Ubuntu | jammy | angular.js | Advisory build | 1.8.2-2ubuntu0.1 | USN-7958-1 |
| Ubuntu | noble | angular.js | Advisory build | 1.8.3-1ubuntu0.24.04.1 | USN-7958-1 |
| Ubuntu | bionic | libjs-angularjs | Advisory build | 1.5.10-1ubuntu0.1~esm1 | USN-7958-1 |
Show 3 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | focal | libjs-angularjs | Advisory build | 1.7.9-1ubuntu0.1~esm1 | USN-7958-1 |
| Ubuntu | jammy | libjs-angularjs | Advisory build | 1.8.2-2ubuntu0.1 | USN-7958-1 |
| Ubuntu | noble | libjs-angularjs | Advisory build | 1.8.3-1ubuntu0.24.04.1 | USN-7958-1 |
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 .
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.8 / 10
- Severity
- medium
- Provider
- HeroDevs · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| AngularJS | >=0.0.0 (affected · semver)Default: unaffected | HeroDevs · cna | |
| angularjs | angular.js | 0 and later (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-791 CWE-791: Incomplete Filtering of Special Elements
References
4Provider assertions
3HeroDevs · cna
AngularJS improper sanitization in '<source>' element
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e9b75553b3604a16a929ab95b1010d50c377f6fe5ffc9eb5f278b7a3e98f1fe6
- Ingested
- 23 Sep 2026, 08:34:06 UTC
- Source record
- Official CVE record