Skip to content
OpenAdvisories
Medium · 5.4 CVE-2025-59717 EUVD-2025-30235GHSA-2h8j-8r9p-849f

@digitalocean/do-markdownit has Type Confusion vulnerability

Published Sep 19, 2025 · Updated Sep 19, 2025 · Assigned by 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).

Affected products

VendorProductAffectedFixed
DigitalOcean @digitalocean/do-markdownit ≤ 1.16.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @digitalocean/do-markdownit <= 1.16.1 — GHSA-2h8j-8r9p-849f

References