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

EPSS: 0.004 (28.7th percentile) — read the EPSS interpretation.

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.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

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.