CVE-2025-59717

critical

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

References

https://www.npmjs.com/package/@digitalocean/do-markdownit

https://github.com/digitalocean/do-markdownit

https://gist.github.com/thesmartshadow/dd19665f1f51a4e3c7a766e70c9eafd0

Details

Source: Mitre, NVD

Published: 2025-09-19

Updated: 2025-10-08

Risk Information

CVSS v2

Base Score: 10

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

Severity: Critical

CVSS v3

Base Score: 9.8

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Severity: Critical

EPSS

EPSS: 0.00027