# CVE-2025-2336: angular.js: Improper sanitization of the value of the 'href' and 'xlink:href' attributes in '<image>' SVG elements in AngularJS's...

CVE-2025-2336 is fixed in 2 products on 1 platform, first by libjs-angularjs 1.5.10-1ubuntu0.1~esm1, released June 4, 2025. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2025-2336
- Priority: Routine
- CVSS: 4.8 (medium)
- EPSS: 0.0031
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jun 4, 2025

## 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 .

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | angular.js Debian 12.15 (bookworm) | 1.8.3-1+deb12u1 | [DEBIAN-CVE-2025-2336](https://patchblox.com/security/data/fix/linux/debian-cve-2025-2336.md) | Jun 4, 2025 |
| Linux | angular.js Debian 13.5 (trixie) | 1.8.3-2 | [DEBIAN-CVE-2025-2336](https://patchblox.com/security/data/fix/linux/debian-cve-2025-2336.md) | Jun 4, 2025 |
| Linux | libjs-angularjs Ubuntu 18.04.6 LTS (bionic) | 1.5.10-1ubuntu0.1~esm1 | [libjs-angularjs 1.5.10-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libjs-angularjs-1.5.10-1ubuntu0.1-esm1.md) | Jun 4, 2025 |
| Linux | libjs-angularjs Ubuntu 20.04 LTS (focal) | 1.7.9-1ubuntu0.1~esm1 | [libjs-angularjs 1.7.9-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libjs-angularjs-1.7.9-1ubuntu0.1-esm1.md) | Jun 4, 2025 |
| Linux | libjs-angularjs Ubuntu 22.04.1 LTS (jammy) | 1.8.2-2ubuntu0.1 | [libjs-angularjs 1.8.2-2ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libjs-angularjs-1.8.2-2ubuntu0.1.md) | Jun 4, 2025 |
| Linux | libjs-angularjs Ubuntu 24.04.5 LTS (noble) | 1.8.3-1ubuntu0.24.04.1 | [libjs-angularjs 1.8.3-1ubuntu0.24.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libjs-angularjs-1.8.3-1ubuntu0.24.04.1.md) | Jun 4, 2025 |

---

Data as of 2026-11-08T06:59:42Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
