CVE-2024-8373
AngularJS allows attackers to bypass common image source restrictions
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 .
Affected Maven artifacts (3)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.mvnpm » angularvia npm angular | <= 1.8.3 | - |
| org.webjars » angularjsvia npm angular | <= 1.8.3 | - |
| org.webjars.npm » angularvia npm angular | <= 1.8.3 | - |
Blast radius
86% of the dependent artifacts (366) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 3,690 |
| 2 hops | 4,117 |
| 3 hops | 1,653 |
| 4 hops | 465 |
| 5 hops | 42 |
| 6 hops | 19 |
Most used dependents
- de.codecentric » spring-boot-admin-server31 usages
- org.eclipse.dirigible » dirigible-resources28 usages
- org.webjars » angular-ui-bootstrap28 usages
- org.apache.marmotta » marmotta-core25 usages
- io.arkx.framework » arkx-data-db-core23 usages
- com.github.wuic » wuic-core18 usages
- pentaho » common-ui15 usages
- org.webjars » angular-translate15 usages
- net.aequologica.neo » geppaequo-tags15 usages
- org.webjars » angular-ui-select14 usages
- org.webjars » angular-sanitize14 usages
- io.arkx.framework » arkx-commons-core14 usages
- org.webjars » angular-ui-router12 usages
- org.eclipse.dirigible » dirigible-components-group-resources-ui9 usages
- org.fenixedu.ulisboa » fenixedu-ulisboa-specifications8 usages
Computed from the dependency graph of build 20261127.1117 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
Other ecosystems
Also affects npm (1 package) . See all on OSV
References
| Advisory | NVD CVE-2024-8373 | nvd.nist.gov |
| Package | angular/angular.js | github.com |
| Web | herodevs/full/bGPQgMp/8da9ce87e99403ee13a295c305ebfa0b | codepen.io |
| Web | debian-lts-announce/2025/07/msg00005.html | lists.debian.org |
| Web | advisory/ntap-20241122-0003 | security.netapp.com |
| Web | vulnerability-directory/cve-2024-8373 | herodevs.com |
