GHSA-2h8j-8r9p-849f
MODERATECVE-2025-59717A type confusion issue exists in the @digitalocean/do-markdownit package. In the callout and fenceenvironment plugins, the allowedClasses and allowedEnvironments options are expected to be arrays of strings. If these options are provided as a single string, the code applies .includes directly on the string, resulting in substring matching instead of membership checks against an array.
- Affected
- <= 1.16.1
- Fixed in
- not stated
- Weakness
- CWE-843
- Published
- 2025-09-19
- Source
- github