{"id":"CVE-2025-2336","state":"PUBLISHED","title":"AngularJS improper sanitization in SVG '<image>' element with 'ngSanitize'","description":"Improper sanitization of the value of the 'href' and 'xlink:href' attributes in '<image>' 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 .","publishedAt":"2025-06-04T16:32:31.665Z","updatedAt":"2025-11-03T19:43:05.229Z","severity":{"score":4.8,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L","source":"HeroDevs"},"assigner":"HeroDevs","products":["Google AngularJS"],"affected":[{"vendor":"Google","product":"AngularJS","packageName":"angular-sanitize","defaultStatus":"unaffected","versions":[{"version":">=1.3.1","status":"affected","versionType":"semver"}],"collectionURL":"https://registry.npmjs.org","repo":"https://github.com/angular/angular.js"}],"references":["https://www.herodevs.com/vulnerability-directory/cve-2025-2336","https://codepen.io/herodevs/pen/bNGYaXx/412a3a4218387479898912f60c269c6c","https://www.herodevs.com/vulnerability-directory/cve-2025-2336?angularjs-nes","https://lists.debian.org/debian-lts-announce/2025/07/msg00005.html"],"weaknesses":["CWE-791"],"ingestedAt":"2026-10-29T20:08:55.257Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/2xxx/CVE-2025-2336.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-2336","state":"PUBLISHED","datePublished":"2025-06-04T16:32:31.665Z","dateUpdated":"2025-11-03T19:43:05.229Z","assignerShortName":"HeroDevs","assignerOrgId":"36c7be3b-2937-45df-85ea-ca7133ea542c","dateReserved":"2025-03-15T11:48:06.541Z"},"containers":{"cna":{"title":"AngularJS improper sanitization in SVG '<image>' element with 'ngSanitize'","descriptions":[{"lang":"en","value":"Improper sanitization of the value of the 'href' and 'xlink:href' attributes in '<image>' 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 ."}],"affected":[{"vendor":"Google","product":"AngularJS","packageName":"angular-sanitize","defaultStatus":"unaffected","versions":[{"version":">=1.3.1","status":"affected","versionType":"semver"}],"collectionURL":"https://registry.npmjs.org","repo":"https://github.com/angular/angular.js"}],"references":[{"url":"https://www.herodevs.com/vulnerability-directory/cve-2025-2336","tags":["third-party-advisory"]},{"url":"https://codepen.io/herodevs/pen/bNGYaXx/412a3a4218387479898912f60c269c6c","tags":["technical-description","exploit"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":4.8,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-791","description":"CWE-791: Incomplete Filtering of Special Elements","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"HeroDevs","orgId":"36c7be3b-2937-45df-85ea-ca7133ea542c","dateUpdated":"2025-06-04T16:35:08.675Z"},"credits":[{"lang":"en","type":"finder","value":"George Kalpakas"}],"impacts":[{"capecId":"CAPEC-554","descriptions":[{"lang":"en","value":"CAPEC-554 Functionality Bypass"}]},{"capecId":"CAPEC-148","descriptions":[{"lang":"en","value":"CAPEC-148 Content Spoofing"}]}],"source":{"discovery":"UNKNOWN"},"tags":["unsupported-when-assigned","x_open-source"],"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://www.herodevs.com/vulnerability-directory/cve-2025-2336?angularjs-nes","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-06-04T18:14:00.546895Z","id":"CVE-2025-2336","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-06-04T18:18:58.207Z"}},{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/07/msg00005.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T19:43:05.229Z"}}]}}}