CVE-2025-59717

CRITICAL

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.

CVSS 3.19.8
EPSS0.4%
Percentile31th
PatchUnknown
CVSS Vector — Plain English Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
CWE Weakness Definitions
CWE-843: CWE-843
◆ AI Analysis — automated analysis, not human-reviewed

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 →
Frequently Asked Questions
What is CVE-2025-59717?
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.
What is the CVSS score for CVE-2025-59717?
CVE-2025-59717 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.4%.
Is CVE-2025-59717 actively exploited?
No confirmed active exploitation of CVE-2025-59717 as of 2026-05-30.
How do I remediate CVE-2025-59717?
Priority: IMMEDIATE.
What systems are affected by CVE-2025-59717?
CVE-2025-59717 affects Digitalocean Do-Markdownit.
Vulnerability Details
CVE IDCVE-2025-59717
BSIDBS-2025-GLOBAL-299694-C BreachSpider Global ID
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2025-09-19
Last Modified2025-10-08
ICS Relevance0%
Weakness (CWE)
SourceNVD
Official 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).

Source: NIST NVD / MITRE CVE Database

Attack Vector Analysis — CITED Relevance

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

Affected Products
VendorProductAffected Versions
Digitalocean Do-Markdownit ≤ 1.16.1
Remediation

No official vendor advisory link on record. See the CVE record →

Threat Intelligence
● Threat Intelligence Validated: October 2026 | Threat Age: 392 Days
CISA known-exploitedNot in KEV catalog
Public ExploitNot confirmed
PoC CodeNot confirmed
AI Enrichment Record — provenance & audit hash
Model/workspace/models/qwen2.5-coder-32b-instruct-bf16
ConfidenceHIGH
Enriched At2026-05-24
SHA-512 Audit Hash1cc275b58a629ee6cfa820bb84c7a3a11bbdab4a3f52da7a594ccede71fa5518801a57f7e38895ff2ce2e0df282f8f369456917fde19b75fd2dcee0673984195
Related CVEs affecting Digitalocean
CVE-2020-36569 9.1 Authentication is globally bypassed in github.com/nanobox-io/golang-nanoauth ... CVE-2026-24516 8.8 A command injection vulnerability exists in DigitalOcean Droplet Agent throug... CVE-2024-29795 6.5 Improper Neutralization of Input During Web Page Generation ('Cross-site Scri... CVE-2025-49047 5.9 Improper Neutralization of Input During Web Page Generation ('Cross-site Scri...
View all Digitalocean CVEs →

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 →