CVE-2015-1370
VBScript Content Injection in marked
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](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 Maven artifacts (3)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.mvnpm » markedvia npm marked | < 0.3.3 | 0.3.3 |
| org.webjars » markedvia npm marked | < 0.3.3 | 0.3.3 |
| org.webjars.npm » markedvia npm marked | < 0.3.3 | 0.3.3 |
Blast radius
50% of the dependent artifacts (1) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 2 |
Most used dependents
- org.scrupal » scrupal-core0 usages
- org.webjars.npm » modernizr0 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
Other ecosystems
Also affects npm (1 package) . See all on OSV
References
| Advisory | NVD CVE-2015-1370 | nvd.nist.gov |
| Package | markedjs/marked | github.com |
| Web | chjj/marked issue #492 | github.com |
| Web | markedjs/marked issue #492 | github.com |
| Web | evilpacket/marked commit 3c19114 | github.com |
| Web | markedjs/marked commit fc372d1 | github.com |
| Web | advisories/24 | npmjs.com |
| Web | advisories/24/versions | npmjs.com |
| Web | lists/oss-security/2015/01/23/2 | openwall.com |
