CVE Catalog

CVE-2026-104477

MediumCVSS 6.1
Published: Translated: NVD NIST

Summary

Showdown through 2.1.0 contains a cross-site scripting vulnerability in the makehtml link and image subparsers, which fail to escape double quotes in destination URLs placed into href and src attributes. Attackers can craft markdown links or images containing a double quote followed by onerror or onmouseover handlers to execute script when victims view rendered HTML.

Risk Assessment

An attacker can execute arbitrary JavaScript in the victim's browser, potentially leading to credential theft or other actions. This affects any application using Showdown to render markdown.

Recommendation

Update Showdown to a version later than 2.1.0. If updating is not possible, consider sanitizing markdown input.

Other vulnerabilities in Showdown

See all
Original NVD description (English source)

Showdown through 2.1.0 contains a cross-site scripting vulnerability in the makehtml link and image subparsers, which fail to escape double quotes in destination URLs placed into href and src attributes. Attackers can craft markdown links or images containing a double quote followed by onerror or onmouseover handlers to execute script when victims view rendered HTML.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS