GHSA-4xf9-pgvv-xx67
MEDIUM 5.3CVSS 3.1withdrawn / rejectedDuplicate Advisory: Regular Expression Denial of Service in simple-markdown
Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-gpvj-gp8c-c7p2. This link is maintained to preserve external references.
Original Description
Versions of simple-markdown prior to 0.5.2 are vulnerable to Regular Expression Denial of Service (ReDoS). The SimpleMarkdown.defaultInlineParse() function has significantly degraded performance when parsing inline code blocks.
Recommendation
Upgrade to version 0.5.2 or later.
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | simple-markdown | < 0.5.2 | 0.5.2 |
References
- https://github.com/Khan/simple-markdown/issues/71 · WEB
- https://github.com/ariabuckles/simple-markdown/commit/89797fef9abb4cab2fb76a335968266a92588816 · WEB
- https://github.com/Khan/simple-markdown · PACKAGE
- https://snyk.io/vuln/SNYK-JS-SIMPLEMARKDOWN-460540 · WEB
History
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 3 Sep 2020)