Security mailing lists by PureSourceCode

CVE-2025-59717

CRITICAL 9.8CVSS 3.1

@digitalocean/do-markdownit has Type Confusion vulnerability

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
19 Sep 2025
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Analyzed
Weakness
CWE-843
Also known as
GHSA-2h8j-8r9p-849f
Sources
NVDJSONOSV GHSA-2h8j-8r9p-849fJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD cve@mitre.org (Secondary) CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD digitalocean do-markdownit
cpe:2.3:a:digitalocean:do-markdownit:*:*:*:*:*:node.js:*:*
<= 1.16.1
OSV npm @digitalocean/do-markdownit <= 1.16.1

References

History

  • 25 Nov 2026 20:59 UTC · NVD: first stored (published 19 Sep 2025)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 19 Sep 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.