marked@0.6.1 vulnerabilities

A markdown parser built for speed

Direct Vulnerabilities

Known vulnerabilities in the marked package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Regular Expression Denial of Service (ReDoS)

marked is a low-level compiler for parsing markdown without caching or blocking for long periods of time.

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) when unsanitized user input is passed to block.def.

How to fix Regular Expression Denial of Service (ReDoS)?

Upgrade marked to version 4.0.10 or higher.

<4.0.10
  • M
Regular Expression Denial of Service (ReDoS)

marked is a low-level compiler for parsing markdown without caching or blocking for long periods of time.

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) when passing unsanitized user input to inline.reflinkSearch, if it is not being parsed by a time-limited worker thread.

How to fix Regular Expression Denial of Service (ReDoS)?

Upgrade marked to version 4.0.10 or higher.

<4.0.10
  • M
Regular Expression Denial of Service (ReDoS)

marked is a low-level compiler for parsing markdown without caching or blocking for long periods of time.

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS). The em regex within src/rules.js file have multiple unused capture groups which could lead to a denial of service attack if user input is reachable.

How to fix Regular Expression Denial of Service (ReDoS)?

Upgrade marked to version 1.1.1 or higher.

<1.1.1
  • M
Regular Expression Denial of Service (ReDoS)

marked is a low-level compiler for parsing markdown without caching or blocking for long periods of time.

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS). The package may take exponentially quadratic time when parsing malformed input due to the _label subrule using back ticks. This vulnerability was introduced in release 0.4.0 of the package.

How to fix Regular Expression Denial of Service (ReDoS)?

Upgrade marked to version 0.7.0 or higher.

>=0.4.0 <0.7.0
  • M
Regular Expression Denial of Service (ReDoS)

marked is a low-level compiler for parsing markdown without caching or blocking for long periods of time.

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS). The inline.text regex may take quadratic time to scan for potential email addresses starting at every point.

How to fix Regular Expression Denial of Service (ReDoS)?

Upgrade marked to version 0.6.2 or higher.

>=0.1.3 <0.6.2