VBScript Content Injection in marked
Versions 0.3.2 and earlier of marked are affected by a cross-site scripting vulnerability even when sanitize:true is set.
Proof of Concept ( IE10 Compatibility Mode Only )
[xss link](vbscript:alert(1))
will get a link
<a href="vbscript:alert(1)">xss link</a>
Recommendation
Update to version 0.3.3 or later.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | marked | < 0.3.3 | 0.3.3 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2015-1370
- https://github.com/chjj/marked/issues/492
- https://github.com/markedjs/marked/issues/492
- https://github.com/evilpacket/marked/commit/3c191144939107c45a7fa11ab6cb88be6694a1ba
- https://github.com/markedjs/marked/commit/fc372d1c6293267722e33f2719d57cebd67b3da1
- https://github.com/markedjs/marked
- https://www.npmjs.com/advisories/24
- https://www.npmjs.com/advisories/24/versions
- http://www.openwall.com/lists/oss-security/2015/01/23/2
- Weakness (CWE)
CWE-79- Platform
- npm
- Package
marked- Disclosed
- 24.10.2017
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-cfjh-p3g4-3q2f - CC BY 4.0
Vulnerability history: marked
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 13
- First → latest
- 10.2017 04.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- High 5
- Medium 7
- Low 1
Disclosures per year
- 2017: 2
- 2018: 2
- 2019: 2
- 2020: 2
- 2021: 1
- 2022: 2
- 2023: 0
- 2024: 0
- 2025: 1
- 2026: 1
-
VBScript Content Injection in marked this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.