Type confusion in DigitalOcean @digitalocean/do-markdownit
Priority HIGH 75CWE-843Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-843 and the CVSS impact.
Summary
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).
Why it matters now
Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00387 33rd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix No fix listed No fixed version in the sources yet
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| DigitalOcean | @digitalocean/do-markdownit | up to 1.16.1 | — | No fix listed | CNA |
| — | @digitalocean/do-markdownit (npm) | up to 1.16.1 | — | No fix listed | GHSA-2h8j-8r9p-849f |
- @digitalocean/do-markdownit VendorDigitalOcean Affected up to 1.16.1 Fixed in — No fix listed CNA
- @digitalocean/do-markdownit (npm) Vendor— Affected up to 1.16.1 Fixed in — No fix listed GHSA-2h8j-8r9p-849f
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:digitalocean:do-markdownit:*:*:*:*:*:node.js:*:* | up to 1.16.1 | Vulnerable | DigitalOcean |
- cpe:2.3:a:digitalocean:do-markdownit:*:*:*:*:*:node.js:*:* Versions up to 1.16.1 Vulnerable ·DigitalOcean
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2025-59717
- 2026-10-03 Alias added: GHSA-2h8j-8r9p-849f
References
Sources
- CVE-2025-59717 · CVE Program
- CVE-2025-59717 · NVD
- FIRST EPSS
- GHSA-2h8j-8r9p-849f · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences