CVE-2025-59717

Medium

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).

SeverityMedium
CVSS5.4
Exploit probability—
ProductDigitalocean Do-markdownit
PublishedSep 19, 2025
First seenSep 19, 2025
Weakness typeCWE-843CWE-843

How to fix

Sources list no fixed version or patch link for this vulnerability.

Affected products

ProductAffected versionsFixed in
digitalocean do-markdownitv ≤ 1.16.1—
@digitalocean/do-markdownitnpmv ≤ 1.16.1—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.