CVE-2025-59717 @digitalocean/do-markdownit has Type Confusion vulnerability
CriticalCVSS 9.8
EPSS 0.40%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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).
Upgrade path
3 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| digitalocean @digitalocean/do-markdownit | <= 1.16.1 | after 1.16.1 | Fixed |
| digitalocean @digitalocean/do-markdownit | <= 1.16.1 | after 1.16.1 | Fixed |
| digitalocean @digitalocean/do-markdownit(npm) | <= 1.16.1 | after 1.16.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| digitalocean @digitalocean/do-markdownit(npm) | <= 1.16.1 | No fix listed |
| digitalocean @digitalocean/do-markdownit | <= 1.16.1 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- gist.github.com exploit third-party-advisory
- github.com product
- www.npmjs.com product
- github.com