{"id":"CVE-2025-59717","aliases":["GHSA-2h8j-8r9p-849f"],"url":"https://o3.security/vulnerability/CVE-2025-59717","summary":"@digitalocean/do-markdownit has Type Confusion vulnerability","details":"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":"2025-09-19T00:00:00Z","modified":"2026-07-15T01:49:00.053205397Z","cvss":{"score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"@digitalocean/do-markdownit","fixedVersion":null}],"fix":null,"references":[{"type":"WEB","url":"https://gist.github.com/thesmartshadow/dd19665f1f51a4e3c7a766e70c9eafd0"},{"type":"WEB","url":"https://www.npmjs.com/package/@digitalocean/do-markdownit"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/59xxx/CVE-2025-59717.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-59717"},{"type":"PACKAGE","url":"https://github.com/digitalocean/do-markdownit"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-15T01:49:00.053205397Z"}}