{"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-05-01T04:28:01.213650Z","published":"2025-06-04T16:32:31.665Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/2xxx/CVE-2025-2336.json","cna_assigner":"HeroDevs","cwe_ids":["CWE-791"]},"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":"0"},{"last_affected":"ed6e91b31824b57a084b33b4fc7f869c8d5909be"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"last_affected":"\u003e=1.3.1"}],"source":"AFFECTED_FIELD"}}],"versions":["g3-v1.0.0-rc2","g3-v1.0.0rc1","v0.10.0","v0.10.1","v0.10.2","v0.10.3","v0.10.4","v0.10.5","v0.10.6","v0.9.0","v0.9.1","v0.9.10","v0.9.11","v0.9.12","v0.9.13","v0.9.14","v0.9.15","v0.9.16","v0.9.17","v0.9.18","v0.9.2","v0.9.3","v0.9.4","v0.9.5","v0.9.6","v0.9.7","v0.9.9","v1.0.0","v1.0.0rc1","v1.0.0rc10","v1.0.0rc11","v1.0.0rc12","v1.0.0rc2","v1.0.0rc3","v1.0.0rc4","v1.0.0rc5","v1.0.0rc6","v1.0.0rc7","v1.0.0rc8","v1.0.0rc9","v1.0.1","v1.1.0","v1.1.1","v1.1.2","v1.1.3","v1.1.4","v1.1.5","v1.2.0","v1.2.0-rc.2","v1.2.0-rc.3","v1.2.0rc1","v1.2.1","v1.2.10","v1.2.11","v1.2.12","v1.2.13","v1.2.14","v1.2.2","v1.2.3","v1.2.4","v1.2.5","v1.2.6","v1.2.7","v1.2.8","v1.2.9","v1.3.0","v1.3.0-beta.1","v1.3.0-beta.10","v1.3.0-beta.11","v1.3.0-beta.12","v1.3.0-beta.13","v1.3.0-beta.14","v1.3.0-beta.15","v1.3.0-beta.16","v1.3.0-beta.17","v1.3.0-beta.18","v1.3.0-beta.19","v1.3.0-beta.2","v1.3.0-beta.3","v1.3.0-beta.4","v1.3.0-beta.5","v1.3.0-beta.6","v1.3.0-beta.7","v1.3.0-beta.8","v1.3.0-beta.9","v1.3.0-rc.0","v1.3.0-rc.1","v1.3.0-rc.2","v1.3.0-rc.3","v1.3.0-rc.4","v1.3.0-rc.5","v1.3.1"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-2336.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L"}]}