Vulnerability · Published Sep 19, 2025 · Assigned by mitre
CVE-2025-59717
Medium 5.4
In plain English
A medium-severity type confusion in @digitalocean/do-markdownit from DigitalOcean. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 33% of all known vulnerabilities).
Severity (CVSS 3.1)5.4Medium
Exploit odds (30 days)0.4%top 67.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official description
In the @digitalocean/do-markdownit package through 1.16.1 (in npm), the callout and fence_environment plugins perform .includes substring matching if allowedClasses or allowedEnvironments is a string (instead of an array).
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | @digitalocean/do-markdownit | no fix listed | GHSA-2h8j-8r9p-849f |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| DigitalOcean | @digitalocean/do-markdownit | 0 – through 1.16.1 |
Weakness: CWE-843 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N