Medium severity · published Jun 4, 2025
CVE-2025-2336
AngularJS improper sanitization in SVG '<image>' element with 'ngSanitize'
4.8
CVSS
0.3%
EPSS
No
On KEV
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.
This issue affects AngularJS versions greater than or equal to 1.3.1.
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 .
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
Attack vector
Network
Complexity
High
Privileges
None
User interaction
None
Confidentiality
None
Integrity
Low
Availability
Low
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 23% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
AN
AngularJS · Google
>=1.3.1 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-2336
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-2336
codepen.io
https://codepen.io/herodevs/pen/bNGYaXx/412a3a4218387479898912f60c269c6c
www.herodevs.com
https://www.herodevs.com/vulnerability-directory/cve-2025-2336
lists.debian.org
https://lists.debian.org/debian-lts-announce/2025/07/msg00005.html
www.herodevs.com
https://www.herodevs.com/vulnerability-directory/cve-2025-2336?angularjs-nes
More from AngularJS
7.6
CVE-2026-11998
AngularJS XSS via SCE resource URL sanitization bypass
4.8
CVE-2025-0716
AngularJS improper sanitization in SVG '<image>' element
4.3
CVE-2025-4690
AngularJS 'linky' filter ReDoS
4.3
CVE-2024-8373
AngularJS improper sanitization in '<source>' element
4.3
CVE-2024-8372
AngularJS improper sanitization in 'srcset' attribute
