Access of Resource Using Incompatible Type ('Type Confusion') Affecting @digitalocean/do-markdownit package, versions *


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.36% (28th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Access of Resource Using Incompatible Type ('Type Confusion') vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-DIGITALOCEANDOMARKDOWNIT-12997413
  • published22 Sept 2025
  • disclosed19 Sept 2025
  • creditUnknown

Introduced: 19 Sep 2025

CVE-2025-59717  (opens in a new tab)
CWE-843  (opens in a new tab)

How to fix?

There is no fixed version for @digitalocean/do-markdownit.

Overview

@digitalocean/do-markdownit is a Markdown-It plugin for the DigitalOcean Community.

Affected versions of this package are vulnerable to Access of Resource Using Incompatible Type ('Type Confusion') in the callout and fence_environment plugins when allowedClasses or allowedEnvironments is provided as a string instead of an array. An attacker can manipulate the input to trigger unintended behavior or access unauthorized data by supplying specially crafted values.

References

CVSS Base Scores

version 4.0
version 3.1