AngularJS allows attackers to bypass common image source restrictions
Date: 2024-09
Affected: npm/angular
Attack vector: other
Category: vulnerability-disclosure
Severity: Low
CVE: CVE-2024-8373
CWE: CWE-791
CVSS: 4.8 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L)

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 .


Mitigations:

Architectural layers (MAESTRO):