{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-59717","id":"CVE-2025-59717","title":"@digitalocean/do-markdownit has Type Confusion vulnerability","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).","descriptionLong":"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:00.000Z","updated":"2026-10-28T02:30:28.018095677Z","reserved":"2025-09-19T00:00:00.000Z","status":"Analyzed","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N","rating":"medium","source":"mitre"},"metrics":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N","rating":"medium","source":"mitre"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N","rating":"medium","source":"mitre.org"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["DigitalOcean @digitalocean/do-markdownit"],"affectedProducts":[{"vendor":"DigitalOcean","product":"@digitalocean/do-markdownit","defaultStatus":"unaffected","versions":[{"lessThanOrEqual":"1.16.1","status":"affected","version":"0","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"@digitalocean/do-markdownit","purl":"pkg:npm/%40digitalocean/do-markdownit","ranges":["<=1.16.1"],"fixed":[],"advisory":"GHSA-2h8j-8r9p-849f"}],"cwes":["CWE-843"],"aliases":["GHSA-2h8j-8r9p-849f"],"references":[{"url":"https://github.com/digitalocean/do-markdownit","tags":["Product","package"]},{"url":"https://gist.github.com/thesmartshadow/dd19665f1f51a4e3c7a766e70c9eafd0","tags":["exploit","Exploit","Third Party Advisory","web"]},{"url":"https://www.npmjs.com/package/@digitalocean/do-markdownit","tags":["Product","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/59xxx/CVE-2025-59717.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-59717","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00403,"epssPercentile":0.35421,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-59717","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-59717","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-59717","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-2h8j-8r9p-849f","ok":true,"note":"GHSA-2h8j-8r9p-849f"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-59717","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}