Home

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

PUBLISHED Reserved 2025-09-19 | Published 2025-09-19 | Updated 2025-09-19 | Assigner mitre




MEDIUM: 5.4CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N

Problem types

CWE-843 Access of Resource Using Incompatible Type ('Type Confusion')

Product status

Default status
unaffected

Any version
affected

References

gist.github.com/...rtshadow/dd19665f1f51a4e3c7a766e70c9eafd0 exploit

github.com/digitalocean/do-markdownit

gist.github.com/...rtshadow/dd19665f1f51a4e3c7a766e70c9eafd0

www.npmjs.com/package/@digitalocean/do-markdownit

cve.org (CVE-2025-59717)

nvd.nist.gov (CVE-2025-59717)

Download JSON