Access of Resource Using Incompatible Type ('Type Confusion')
CVE-2025-59717
Summary
In the @digitalocean/do-markdownit package, the "callout" and "fence_environment" plugins perform ".includes" substring matching if "allowedClasses" or "allowedEnvironments" is a string (instead of an array).
- LOW
- NETWORK
- HIGH
- UNCHANGED
- NONE
- NONE
- HIGH
- HIGH
CWE-843 - Access of Resource Using Incompatible Type ('Type Confusion')
The program allocates or initializes a resource such as a pointer, object, or variable using one type, but it later accesses that resource using a type that is incompatible with the original type.
References
Advisory Timeline
- Published