Description
Marked is an open-source markdown parser and compiler (npm package "marked"). In marked from version 1.1.1 and before version 2.0.0, there is a Regular expression Denial of Service vulnerability. This vulnerability can affect anyone who runs user generated code through marked. This vulnerability is fixed in version 2.0.0.
Remediation
References
https://www.npmjs.com/package/marked
https://github.com/markedjs/marked/commit/7293251c438e3ee968970f7609f1a27f9007bccd
https://github.com/markedjs/marked/pull/1864
https://github.com/markedjs/marked/issues/1927
https://github.com/markedjs/marked/security/advisories/GHSA-4r62-v4vq-hr96
Related Vulnerabilities
CVE-2018-17421 Vulnerability in maven package com.zrlog:zrlog
CVE-2016-10570 Vulnerability in npm package pngcrush-installer
CVE-2020-28500 Vulnerability in maven package org.webjars.npm:lodash
CVE-2016-1000341 Vulnerability in maven package org.bouncycastle:bcprov-jdk15on
CVE-2018-1000865 Vulnerability in maven package org.kohsuke:groovy-sandbox