VulnerabilityAnalyzed
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).
CRITICAL 9.8EPSS 0.39%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.39%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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).
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 0.39% probability · 32th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-843
- Affected
- digitalocean/do-markdownit
- Source
- cve@mitre.org
References
- https://gist.github.com/thesmartshadow/dd19665f1f51a4e3c7a766e70c9eafd0Exploit, Third Party Advisory
- https://github.com/digitalocean/do-markdownitProduct
- https://www.npmjs.com/package/@digitalocean/do-markdownitProduct
- https://gist.github.com/thesmartshadow/dd19665f1f51a4e3c7a766e70c9eafd0Exploit, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.