{"id":"CVE-2025-2336","summary":"AngularJS improper sanitization in SVG '\u003cimage\u003e' element with 'ngSanitize'","details":"Improper sanitization of the value of the 'href' and 'xlink:href' attributes in '\u003cimage\u003e' SVG elements in AngularJS's 'ngSanitize' module allows attackers to bypass common image source restrictions. This can lead to a form of  Content Spoofing https://owasp.org/www-community/attacks/Content_Spoofing  and also negatively affect the application's performance and behavior by using too large or slow-to-load images.\n\nThis issue affects AngularJS versions greater than or equal to 1.3.1.\n\nNote:\nThe 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 .","aliases":["GHSA-4p4w-6hg8-63wx"],"modified":"2026-08-12T03:30:31.510295284Z","published":"2025-06-04T16:32:31.665Z","database_specific":{"cwe_ids":["CWE-791"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/2xxx/CVE-2025-2336.json","cna_assigner":"HeroDevs"},"references":[{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/07/msg00005.html"},{"type":"WEB","url":"https://registry.npmjs.org"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/2xxx/CVE-2025-2336.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-2336"},{"type":"ADVISORY","url":"https://www.herodevs.com/vulnerability-directory/cve-2025-2336"},{"type":"PACKAGE","url":"https://github.com/angular/angular.js"},{"type":"EVIDENCE","url":"https://codepen.io/herodevs/pen/bNGYaXx/412a3a4218387479898912f60c269c6c"},{"type":"EVIDENCE","url":"https://www.herodevs.com/vulnerability-directory/cve-2025-2336?angularjs-nes"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/angular/angular.js","events":[{"introduced":"ed6e91b31824b57a084b33b4fc7f869c8d5909be"},{"last_affected":"ed6e91b31824b57a084b33b4fc7f869c8d5909be"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"\u003e=1.3.1"},{"last_affected":"\u003e=1.3.1"}]}}],"versions":["\u003e=1.3.1","v1.3.1"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-2336.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L"}]}