CVE-2025-2336: Angular sanitize · AngularJS Incomplete Filtering of Special Elements vulnerability
Affects angular-sanitizeSource GCVE Database
Not known to be exploited · CVSS 4.8 Medium · end of life, no fix coming : replace or isolate angular-sanitize; no fix will be released.
Data as of 30 Oct 2026, 01:43 UTC
Thin evidence
One scorer or none| CNA (HeroDevs) | CVSS 3.1 | 4.8 |
|---|
- Patch
- None coming – the product is end of life
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:LExploitation evidence
Disclosed: evidence found.
CVE published 4 Jun 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
No fix will be released: angular-sanitize is end of life. Replace it, or isolate it from untrusted networks until you can.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmangular-sanitize | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
No official patches or fixes are available as AngularJS is end-of-life. Users should consider migrating to supported frameworks or implement custom sanitization controls to restrict SVG image sources. Monitoring and restricting user-supplied SVG content can help mitigate risks.
Description
AngularJS's ngSanitize module improperly sanitizes the 'href' and 'xlink:href' attributes in SVG <image> elements, allowing attackers to bypass image source restrictions. This vulnerability can lead to content spoofing and degrade application performance by loading large or slow images. It affects AngularJS versions from 1.3.1 through 1.8.3. The AngularJS project is end-of-life and will not receive patches for this issue.
References
- nvd.nist.gov/vuln/detail/CVE-2025-2336 (opens in a new tab)
- codepen.io/herodevs/pen/bNGYaXx/412a3a4218387479898912f60c269c6c (opens in a new tab)
- github.com/angular/angular.js (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/07/msg00005.html (opens in a new tab)
- herodevs.com/vulnerability-directory/cve-2025-2336 (opens in a new tab)
- herodevs.com/vulnerability-directory/cve-2025-2336?angularjs-nes (opens in a new tab)