{"cve":"CVE-2025-59717","nvd":{"published":"2025-09-19T04:16:49.457","modified":"2026-06-17T09:46:35.680","status":"Analyzed","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).","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-843"],"references":["https://gist.github.com/thesmartshadow/dd19665f1f51a4e3c7a766e70c9eafd0","https://github.com/digitalocean/do-markdownit","https://www.npmjs.com/package/@digitalocean/do-markdownit","https://gist.github.com/thesmartshadow/dd19665f1f51a4e3c7a766e70c9eafd0"],"products":["digitalocean:do-markdownit"],"source":"nvd","synced_at":"2026-10-19T22:10:08.713834912+00:00"},"epss":{"cve":"CVE-2025-59717","score":0.00387,"percentile":0.32811,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-2h8j-8r9p-849f","url":"https://osv.dev/vulnerability/GHSA-2h8j-8r9p-849f","summary":"@digitalocean/do-markdownit has Type Confusion vulnerability","modified":"2025-09-22T22:55:37Z","packages":[{"ecosystem":"npm","name":"@digitalocean/do-markdownit","purl":"pkg:npm/%40digitalocean/do-markdownit","ranges":["<=1.16.1"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}