Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. showdown
  4. ›
  5. CVE-2024-1899

CVE-2024-1899: Showdown vulnerable to Regular Expression Denial of Service (ReDoS) in link/anchor parsing

February 26, 2024 (updated April 24, 2026)

Showdownjs, versions <= 2.1.0, anchors subparser used to parse links has a nested regular expression which can lead to denial of service conditions given malicious input.

References

  • github.com/advisories/GHSA-rmmh-p597-ppvv
  • nvd.nist.gov/vuln/detail/CVE-2024-1899
  • www.tenable.com/security/research/tra-2024-05

Code Behaviors & Features

Detect and mitigate CVE-2024-1899 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 2.1.0

Solution

Unfortunately, there is no solution available yet.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-674: Uncontrolled Recursion
  • CWE-777: Regular Expression without Anchors

Source file

npm/showdown/CVE-2024-1899.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:25 +0000.