Update dependency marked to v0.3.18 [SECURITY] #42
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.3.5
->0.3.18
GitHub Vulnerability Alerts
CVE-2017-17461
A Regular expression Denial of Service (ReDoS) vulnerability in the file marked.js of the marked npm package (tested on version 0.3.7) allows a remote attacker to overload and crash a server by passing a maliciously crafted string.
CVE-2017-1000427
marked version 0.3.6 and earlier is vulnerable to an XSS attack in the data: URI parser.
CVE-2017-16114
The marked module is vulnerable to a regular expression denial of service. Based on the information published in the public issue, 1k characters can block for around 6 seconds.
CVE-2016-10531
marked is an application that is meant to parse and compile markdown. Due to the way that marked 0.3.5 and earlier parses input, specifically HTML entities, it's possible to bypass marked's content injection protection (
sanitize: true
) to inject ajavascript:
URL. This flaw exists because&#xNNanything;
gets parsed to what it could and leaves the rest behind, resulting in justanything;
being left.GHSA-xf5p-87ch-gxw2 / WS-2019-0027
Versions 0.3.17 and earlier of marked has Four regexes were vulnerable to catastrophic backtracking. This leaves markdown servers open to a potential REDOS attack.
GHSA-8wp3-cp9v-44fm / WS-2019-0026
Versions 0.3.7 and earlier of marked unescape only lowercase while owsers support both lowercase and uppercase x in hexadecimal form of HTML character entity
GHSA-wjmf-58vc-xqjr / WS-2019-0025
Versions 0.3.7 and earlier of marked When mangling is disabled via option mangle don't escape target href. This allow attacker to inject arbitrary html-event into resulting a tag.
Release Notes
markedjs/marked
v0.3.18
Compare Source
v0.3.17
Compare Source
v0.3.16
Compare Source
v0.3.15
Compare Source
Fixes unintended breaking change from v0.3.14
v0.3.14
Compare Source
v0.3.13
Compare Source
v0.3.12
Compare Source
use strict
#991v0.3.9
Compare Source
We think with this version we have addressed most, if not all, known security vulnerabilities. If you find more, please let us know.
v0.3.7
Compare Source
Should fix XSS issue discovered.
v0.3.6
Compare Source
Renovate configuration
📅 Schedule: "" (UTC).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.