CVE-2025-2336
CVE-2025-2336 · AngularJS improper sanitization in SVG '<image>' element with 'ngSanitize'
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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 4.8 · Medium · EPSS 0.3% · Fix available
- Published
- Updated
Affected products and versions
angularjs
- Versions
- >=1.3.1: Affected (semver)
No fix published
angular.js Debian:12
- Versions
- 1.8.3-1
- 1.8.3-1+deb12u1~deb11u1
- Affected ranges
- ECOSYSTEM: < 1.8.3-1+deb12u1
Update to 1.8.3-1+deb12u1
angular.js Debian:13
- Affected ranges
- ECOSYSTEM: < 1.8.3-2
Update to 1.8.3-2
angular-sanitize npm
- Affected ranges
- SEMVER: ≥ 1.3.1, ≤ 1.8.3
No fix published
angular.js Ubuntu:Pro:18.04:LTS
- Versions
- 1.5.10-1
- Affected ranges
- ECOSYSTEM: < 1.5.10-1ubuntu0.1~esm1
Update to 1.5.10-1ubuntu0.1~esm1
angular.js Ubuntu:Pro:20.04:LTS
- Versions
- 1.5.10-1
- 1.7.9-1
- Affected ranges
- ECOSYSTEM: < 1.7.9-1ubuntu0.1~esm1
Update to 1.7.9-1ubuntu0.1~esm1
angular.js Ubuntu:22.04:LTS
- Versions
- 1.8.2-2
- Affected ranges
- ECOSYSTEM: < 1.8.2-2ubuntu0.1
Update to 1.8.2-2ubuntu0.1
angular.js Ubuntu:24.04:LTS
- Versions
- 1.8.3-1
- Affected ranges
- ECOSYSTEM: < 1.8.3-1ubuntu0.24.04.1
Update to 1.8.3-1ubuntu0.24.04.1
Original sources
- 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
- https://nvd.nist.gov/vuln/detail/CVE-2025-2336