CVE-2024-8372: 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/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 .
— MITRE
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
Event History
Frequently Asked Questions
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.
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.
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.
What type of attack does CVE-2024-8372 facilitate?
CVE-2024-8372 allows attackers to bypass image source restrictions, potentially leading to content spoofing.
Is CVE-2024-8372 a known vulnerability in AngularJS?
Yes, CVE-2024-8372 is a known vulnerability related to improper sanitization in AngularJS.