GitHub Advisoryadvisory · npm
GHSA-cfjh-p3g4-3q2f VBScript Content Injection in marked
MEDIUM
Official page ↗
- Aliases
- CVE-2015-1370
- Ecosystem
- npm
- Packages
- marked
- Severity
- Moderate
- Weaknesses
- CWE-79
- Reviewed
- 2020-06-16
Affected packages
• npm marked: < 0.3.3 → fixed in 0.3.3
Description
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`
will get a link
`xss link`
Recommendation
Update to version 0.3.3 or later.
Related
Alias · CVE (1)
- CVE-2015-1370 Incomplete blacklist vulnerability in marked 0.3.2 and earlier for Node.js allows remote attackers to conduct cross-site scripting (XSS)… vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2015-1370 advisory
- https://github.com/chjj/marked/issues/492 web
- https://github.com/markedjs/marked/issues/492 web
- https://github.com/evilpacket/marked/commit/3c191144939107c45a7fa11ab6cb88be6694a1ba web
- https://github.com/markedjs/marked/commit/fc372d1c6293267722e33f2719d57cebd67b3da1 web
- https://github.com/markedjs/marked package
- https://www.npmjs.com/advisories/24 web
- https://www.npmjs.com/advisories/24/versions web
- http://www.openwall.com/lists/oss-security/2015/01/23/2 web