# CVE-2025-2336: AngularJS improper sanitization in SVG '\<image\>' element with 'ngSanitize'

- Priority: **Routine**
- Reason: Not severe (CVSS 4.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-06-04 · Modified: 2025-11-03
- Aliases: UBUNTU-CVE-2025-2336, DEBIAN-CVE-2025-2336, CGA-6r33-7p2c-296v, CGA-9m7g-www4-3q4h, CGA-cjjm-8m3r-gjvq, CGA-rhgf-xf8q-8hxq, GHSA-4p4w-6hg8-63wx, CGA-45vc-fv2g-xgxm, CGA-4m38-25ph-cgm2, CGA-5q6q-rp52-2265, CGA-63mq-w84c-58hf, CGA-82c2-wmrf-ff94, CGA-83mf-xg88-h34f, CGA-9c9v-rgp8-9frj, CGA-c37c-8c7c-r575, CGA-g2wv-xcp6-j83c, CGA-gcr2-x8vv-2hqv, CGA-qwvv-qwrh-xhj5, CGA-qxg7-x29v-qcfp
- Record: https://cvemate.com/vulnerability/CVE-2025-2336 · JSON: https://cvemate.com/vulnerability/CVE-2025-2336/json

## Description

```text
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 .
```

## Signals

- CVSS: 4.8 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
- EPSS: 0.359%, percentile 31.686%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 2 (reference)

## Affected

- chainguard solr-10 (Chainguard): All versions (No fix recorded)
- chainguard solr-10-iamguarded-compat (Chainguard): All versions (No fix recorded)
- chainguard solr-9 (Chainguard): All versions (No fix recorded)
- chainguard solr-9-iamguarded-compat (Chainguard): All versions (No fix recorded)
- chainguard solr-fips-10 (Chainguard): All versions (No fix recorded)
- chainguard solr-fips-10-iamguarded-compat (Chainguard): All versions (No fix recorded)
- chainguard solr-fips-9 (Chainguard): All versions (No fix recorded)
- chainguard solr-fips-9-iamguarded-compat (Chainguard): All versions (No fix recorded)
- wolfi solr-10 (Wolfi): All versions (No fix recorded)
- wolfi solr-10-iamguarded-compat (Wolfi): All versions (No fix recorded)
- debian angular.js (Debian): \< 1.8.3-1+deb12u1 \| \< 1.8.3-2
- ubuntu angular.js (Ubuntu): \< 1.5.10-1ubuntu0.1~esm1 \| \< 1.7.9-1ubuntu0.1~esm1 \| \< 1.8.2-2ubuntu0.1 \| \< 1.8.3-1ubuntu0.24.04.1
- google angularjs: ≥ 1.3.1 (No fix recorded)
- Npm angular-sanitize (Npm): ≥ 1.3.1, ≤ 1.8.3

## 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>
- <https://ubuntu.com/security/CVE-2025-2336>
- <https://www.cve.org/CVERecord?id=CVE-2025-2336>
- <https://ubuntu.com/security/notices/USN-7958-1>
- <https://security-tracker.debian.org/tracker/CVE-2025-2336>
- <https://registry.npmjs.org>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/2xxx/CVE-2025-2336.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-2336>
- <https://github.com/angular/angular.js>

---

Data as of 2026-12-05T02:36:09.666Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
