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).
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

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-19T03:16:02.379Z

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

Link: CVE-2025-59717

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2025-59717

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.