Description
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 .
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| AngularJS | >=1.3.0-rc.4 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 13 | angular.js | 1.8.3-2 | — |
| Debian 12 | angular.js | 1.8.3-1+deb12u1 | — |
| Debian 11 | angular.js | 1.8.3-1+deb12u1~deb11u1 | DLA-4242-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | angular.js | 1.8.3-1ubuntu0.24.04.1 | — |
| Ubuntu 22.04 LTS | angular.js | 1.8.2-2ubuntu0.1 | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | angular.js | 1.7.9-1ubuntu0.1~esm1 | — |
| Ubuntu Pro 18.04 LTS | angular.js | 1.5.10-1ubuntu0.1~esm1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | angular | >= 1.3.0-rc.4, <= 1.8.3 | — | GHSA-m9gf-397r-hwpg |
Advisories 3
- DLA-4242-1 angular.js - security update Debian Security (DSA / DLA) · Mar 9, 2026
- WID-SEC-2024-2089 Angular: Schwachstelle ermöglicht Umgehen von Sicherheitsvorkehrungen BSI CERT-Bund (WID) · Jan 13, 2026
- WID-SEC-2024-3344 HCL BigFix WebUI: Mehrere Open Source Schwachstellen BSI CERT-Bund (WID) · Dec 18, 2024
References
- https://www.herodevs.com/vulnerability-directory/cve-2024-8372 third-party-advisory
- https://codepen.io/herodevs/full/xxoQRNL/0072e627abe03e9cda373bc75b4c1017 technical-description exploit