GitHub Advisory Database
GHSA-9cw2-jqp5-7x39
Multiple Content Injection Vulnerabilities in marked
Details
Versions 0.3.0 and earlier of marked are affected by two cross-site scripting vulnerabilities, even when sanitize: true is set.
The attack vectors for this vulnerability are GFM Codeblocks and JavaScript URLs.
Recommendation
Upgrade to version 0.3.1 or later.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | marked | All versions before 0.3.1 (fixed in 0.3.1) |