CVE-2026-104477: Showdown through 2.1.0 XSS via unescaped quote in href and src attributes

Published Oct 2, 2026
·
Updated

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.

Affected Software

1 affected component
npm/showdown<=2.1.0

Event History

Oct 2, 2026
CVE Published
via MITRE·11:28 PM
Data Sourced
via MITRE·11:28 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Applications using npm/showdown through version 2.1.0 are exposed if they render attacker-controlled or otherwise untrusted Markdown and users subsequently view the generated HTML.

2

What does an attacker need to exploit it?

An attacker needs to supply a Markdown link or image destination URL containing a double quote and an event handler such as onerror or onmouseover. Exploitation also requires a victim to view the rendered HTML.

3

What is the potential impact?

Successful exploitation executes script in the context of the page displaying the rendered Markdown. The supplied severity vector indicates low confidentiality and integrity impact, with no availability impact.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203