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).
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| DigitalOcean | @digitalocean/do-markdownit | ≤ 1.16.1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | @digitalocean/do-markdownit | <= 1.16.1 | — | GHSA-2h8j-8r9p-849f |