CVE-2024-1899 Showdownjs Denial of Service

Medium 5.3 Published Updated

A remote attacker can cause a denial of service in the Showdownjs library via the anchors subparser, affecting applications using this npm package.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-1899?

CVE-2024-1899 is a medium-severity denial of service vulnerability in Showdownjs Showdown, published on 26 Feb 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An issue in the anchors subparser of Showdownjs versions <= 2.1.0 could allow a remote attacker to cause denial of service conditions.

Weakness: CWE-674

Which versions are affected by CVE-2024-1899?

2 open source packages ship an affected version, including showdown. It affects 1 product.

PackageAffectedFixed in
showdown npmAll versions to 2.1.0None
showdown npmAll versions to 2.1.0None

Products include Showdownjs Showdown.

How do I fix CVE-2024-1899?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2024-1899 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-1899 exists.

Sources

Also known as CLEANSTART-2026-JB83386, GHSA-rmmh-p597-ppvv, MINI-4mm5-73cg-pq28, MINI-4v72-65p8-749h, MINI-6hf8-vh24-7g49, MINI-gv2w-473x-j7xw and 2 more.

Is CVE-2024-1899 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free