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 stri...
Affects 1 product across 1 vendor.
The @digitalocean/do-markdownit package through version 1.16.1 is vulnerable to a security issue due to improper handling of substring matching in the callout and fence_environment plugins. This can lead to potential code injection or privilege escalation.
BSID: BS-2025-GLOBAL-299694-C • Model: /workspace/models/qwen2.5-coder-32b-instruct-bf16 • Confidence: HIGH
Is this CVE in your environment?
BreachSpider monitors your ICS/OT environment for vulnerabilities like this one. No agents or network access required. Free to start.
Check My Environment →What is CVE-2025-59717?
What is the CVSS score for CVE-2025-59717?
Is CVE-2025-59717 actively exploited?
How do I remediate CVE-2025-59717?
What systems are affected by CVE-2025-59717?
| CVE ID | CVE-2025-59717 |
|---|---|
| BSID | BS-2025-GLOBAL-299694-C BreachSpider Global ID |
| CVSS Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2025-09-19 |
| Last Modified | 2025-10-08 |
| ICS Relevance | 0% |
| Weakness (CWE) | |
| Source | NVD |
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).
Source: NIST NVD / MITRE CVE Database
An attacker can exploit this vulnerability by injecting malicious content into markdown input that is processed by the affected plugins. The vulnerability arises from the use of .includes for substring matching when allowedClasses or allowedEnvironments is a string, rather than an array, which can be manipulated to bypass intended restrictions.
Exploitation Likelihood: HIGH
| Vendor | Product | Affected Versions |
|---|---|---|
| Digitalocean | Do-Markdownit | ≤ 1.16.1 |
No official vendor advisory link on record. See the CVE record →
| CISA known-exploited | Not in KEV catalog |
|---|---|
| Public Exploit | Not confirmed |
| PoC Code | Not confirmed |
AI Enrichment Record — provenance & audit hash
| Model | /workspace/models/qwen2.5-coder-32b-instruct-bf16 |
|---|---|
| Confidence | HIGH |
| Enriched At | 2026-05-24 |
| SHA-512 Audit Hash | 1cc275b58a629ee6cfa820bb84c7a3a11bbdab4a3f52da7a594ccede71fa5518801a57f7e38895ff2ce2e0df282f8f369456917fde19b75fd2dcee0673984195 |
Critical Severity - Know Your Exposure
A CVSS 9.8 vulnerability in your ICS environment cannot wait. BreachSpider maps critical CVEs to your specific assets and tells you what to fix first.
Create a free account →