Regular Expression Denial of Service in simple-markdown
Moderate severity
GitHub Reviewed
Published
Sep 3, 2020
to the GitHub Advisory Database
•
Updated Oct 2, 2023
Description
Reviewed
Aug 31, 2020
Published to the GitHub Advisory Database
Sep 3, 2020
Last updated
Oct 2, 2023
Versions of
simple-markdown
prior to 0.5.2 are vulnerable to Regular Expression Denial of Service (ReDoS). TheSimpleMarkdown.defaultInlineParse()
function has significantly degraded performance when parsing inline code blocks.Recommendation
Upgrade to version 0.5.2 or later.
References