{"id":"CVE-2025-59717","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).","aliases":["GHSA-2h8j-8r9p-849f"],"modified":"2026-08-12T03:51:44.061149416Z","published":"2025-09-19T00:00:00Z","database_specific":{"cna_assigner":"mitre","cwe_ids":["CWE-843"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/59xxx/CVE-2025-59717.json"},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/digitalocean/do-markdownit","events":[{"introduced":"0"},{"last_affected":"31d5edfb92596ec6ed5c5843c72e06c91c810ed1"}],"database_specific":{"source":["AFFECTED_FIELD","CPE_RANGE"],"cpe":"cpe:2.3:a:digitalocean:do-markdownit:*:*:*:*:*:node.js:*:*","extracted_events":[{"introduced":"0"},{"last_affected":"1.16.1"}]}}],"versions":["v1.16.1","v1.16.0","v1.15.0","v1.14.0","v1.13.0","v1.12.6","v1.12.5","v1.12.4","v1.12.3","v1.12.2","v1.12.1","v1.12.0","v1.11.0","v1.10.0","v1.9.0","v1.8.0","v1.7.1","v1.7.0","v1.6.1","v1.6.0","v1.5.1","v1.5.0","v1.4.0","v1.3.3","v1.3.2","v1.3.1","v1.3.0","v1.2.1","v1.2.0","v1.1.0","v1.0.3","v1.0.2","v1.0.1","v1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-59717.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N"}]}