CVE-2024-8372: AngularJS improper sanitization in 'srcset' attribute

Published Sep 9, 2024
·
Updated

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/ContentSpoofing . 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 .

Other sources

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/ContentSpoofing .

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 .

— GitHub

Affected Software

10 affected componentsFixes available
npm/angular>=1.3.0-rc.4<=1.8.3
angularjs AngularJS>=1.3.1<=1.8.3
angularjs AngularJS=1.3.0-rc4
angularjs AngularJS=1.3.0-rc5
NetApp Active Iq Unified Manager Linux
NetApp Active Iq Unified Manager Vsphere
NetApp Active Iq Unified Manager Windows
debian/angular.js
1.8.3-1+deb12u11.8.3-3
debian/angular.js<1.8.3-1+deb12u1
1.8.3-1+deb12u1
debian/angular.js<1.8.3-2
1.8.3-2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/angular.js to a version that resolves this vulnerability.

    Fixed in 1.8.3-1+deb12u1Fixed in 1.8.3-3
  2. Upgrade

    Upgrade debian/angular.js to a version that resolves this vulnerability.

    Fixed in 1.8.3-1+deb12u1
  3. Upgrade

    Upgrade debian/angular.js to a version that resolves this vulnerability.

    Fixed in 1.8.3-2

Event History

Sep 9, 2024
CVE Published
via Ubuntu·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
CVE Published
via MITRE·02:46 PM
Data Sourced
via MITRE·02:46 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·03:15 PM
DescriptionSeverityAffected Software
Advisory Published
via GitHub·03:30 PM

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2024-8372?

CVE-2024-8372 has been classified with a medium severity rating due to improper sanitization of the '[srcset]' attribute.

2

How do I fix CVE-2024-8372?

To fix CVE-2024-8372, upgrade AngularJS to a version that is not affected, specifically above 1.8.3 or to 1.9.6 and later.

3

What versions of AngularJS are affected by CVE-2024-8372?

CVE-2024-8372 affects AngularJS versions between 1.3.0-rc.4 and 1.8.3, including 1.3.0-rc4 and 1.3.0-rc5.

4

What type of attack does CVE-2024-8372 facilitate?

CVE-2024-8372 allows attackers to bypass image source restrictions, potentially leading to content spoofing.

5

Is CVE-2024-8372 a known vulnerability in AngularJS?

Yes, CVE-2024-8372 is a known vulnerability related to improper sanitization in AngularJS.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203