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).
Advisories
Source ID Title
EUVD EUVD EUVD-2025-30235 @digitalocean/do-markdownit has Type Confusion vulnerability
Github GHSA Github GHSA GHSA-2h8j-8r9p-849f @digitalocean/do-markdownit has Type Confusion vulnerability
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 08 Oct 2025 16:30:00 +0000

Type Values Removed Values Added
Weaknesses NVD-CWE-Other
CPEs cpe:2.3:a:digitalocean:do-markdownit:*:*:*:*:*:node.js:*:*

Fri, 19 Sep 2025 14:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 19 Sep 2025 09:45:00 +0000

Type Values Removed Values Added
First Time appeared Digitalocean
Digitalocean do-markdownit
Vendors & Products Digitalocean
Digitalocean do-markdownit

Fri, 19 Sep 2025 03:30:00 +0000

Type Values Removed Values Added
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).
Weaknesses CWE-843
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2025-09-19T13:32:08.575Z

Reserved: 2025-09-19T00:00:00.000Z

Link: CVE-2025-59717

cve-icon Vulnrichment

Updated: 2025-09-19T13:31:59.658Z

cve-icon NVD

Status : Analyzed

Published: 2025-09-19T04:16:49.457

Modified: 2025-10-08T16:23:30.987

Link: CVE-2025-59717

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2025-09-19T09:35:16Z