Vulnerability in Digitalocean @Digitalocean/do-Markdownit
CVE-2025-59717
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).
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.004 (30.4th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 30th percentile — 30.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.004 · change: 0.000
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/digitalocean/do-markdownit (Product)
- gist.github.com/thesmartshadow/dd19665f1f51a4e3c7a766e70c9eafd0 (Exploit, Third Party Advisory)
- www.npmjs.com/package/@digitalocean/do-markdownit (Product)
Frequently asked questions
- What is CVE-2025-59717?
- CVE-2025-59717 is a medium-severity vulnerability in Digitalocean @Digitalocean/do-Markdownit, classified under Access of Resource Using Incompatible Type (Type Confusion). CVSS score: 5.4/10. Published 2025-09-19.
- How severe is CVE-2025-59717?
- Medium severity. CVSS v3 base score is 5.4 out of 10.
- Is CVE-2025-59717 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.