# CVE-2021-43308: Exponential ReDoS in markdown-link-extractor

- Severity: Medium 5.9 (CVSS:3.1, scored by JFROG) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.10%, higher than 66% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-06-01T16:47:49.228Z
- Modified: 2026-06-17T04:10:49.703Z
- Also known as: GHSA-mmh6-m7v9-5956
- Weaknesses: CWE-1333
- Assigned by: JFROG

## Description

An exponential ReDoS (Regular Expression Denial of Service) can be triggered in the markdown-link-extractor npm package, when an attacker is able to supply arbitrary input to the module's exported function

(As written by CVE List.)

## Affected

- markdown-link-extractor markdown-link-extractor: from unspecified before 3.0.2
- markdown-link-extractor (npm): before 3.0.2; from 4.0.0 before 4.0.1
- markdown-link-extractor_project markdown-link-extractor: before 3.0.2; 4.0.0

## Every score

- JFROG: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: rating Low
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://research.jfrog.com/vulnerabilities/markdown-link-extractor-redos-xray-211350/> (exploit, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-43308> (advisory)
- <https://github.com/tcort/markdown-link-extractor> (package)
- <https://research.jfrog.com/vulnerabilities/markdown-link-extractor-redos-xray-211350> (web)

## Sources

- CVE List: [CVE-2021-43308](https://www.cve.org/CVERecord?id=CVE-2021-43308), CVE Terms of Use, modified 2024-09-16
- GitHub Advisory Database: [GHSA-mmh6-m7v9-5956](https://github.com/advisories/GHSA-mmh6-m7v9-5956), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2021-43308](https://nvd.nist.gov/vuln/detail/CVE-2021-43308), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-43308 · Whole record: https://cve.day/CVE-2021-43308.json · Rebuilt by cve.day 2026-11-25T22:24:36.975Z
