{"id":"GHSA-4p4w-6hg8-63wx","summary":"AngularJS Incomplete Filtering of Special Elements vulnerability","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":["CVE-2025-2336"],"modified":"2025-11-03T21:33:59Z","published":"2025-06-04T18:30:58Z","database_specific":{"cwe_ids":["CWE-791"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2025-06-06T23:38:46Z","nvd_published_at":"2025-06-04T17:15:28Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-2336"},{"type":"WEB","url":"https://codepen.io/herodevs/pen/bNGYaXx/412a3a4218387479898912f60c269c6c"},{"type":"PACKAGE","url":"https://github.com/angular/angular.js"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/07/msg00005.html"},{"type":"WEB","url":"https://www.herodevs.com/vulnerability-directory/cve-2025-2336"},{"type":"WEB","url":"https://www.herodevs.com/vulnerability-directory/cve-2025-2336?angularjs-nes"}],"affected":[{"package":{"name":"angular-sanitize","ecosystem":"npm","purl":"pkg:npm/angular-sanitize"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.3.1"},{"last_affected":"1.8.3"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/06/GHSA-4p4w-6hg8-63wx/GHSA-4p4w-6hg8-63wx.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"}]}