CVE-2025-59717
published medium CVSS 3.1 · 5.4@digitalocean/do-markdownit vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| DigitalOcean | — | @digitalocean/do-markdownit0 through 1.16.1 · Other versions: unaffected | Affected | Not stated | mitre |
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).
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.4 / 10
- Severity
- medium
- Provider
- mitre · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| DigitalOcean | @digitalocean/do-markdownit | 0 through 1.16.1 (affected · semver)Default: unaffected | mitre · cna |
Weaknesses
1- CWE-843 CWE-843 Access of Resource Using Incompatible Type ('Type Confusion')
References
3Provider assertions
2mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 2d5d578e1cf54bb6187b32f0c9f49c7ac8869f6a600b5e800f1dd6c3dfa5e9c7
- Ingested
- 23 Sep 2026, 08:54:20 UTC
- Source record
- Official CVE record