Vulnerability library
Security checkAugust 07, 2026

showdown allows stored cross-site scripting through table header ID injection

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpmshowdown

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

showdown contains a stored cross-site scripting vulnerability in the parseHeaders function of src/subParsers/makehtml/tables.js that fails to properly escape table header ID attributes.

Recommendation

No fix is available yet. Followings are affected versions:

  • <= 2.1.0

References

Could your website be exposed too?

SmartScanner can check your website for showdown allows stored cross-site scripting through table header ID injection and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated August 07, 2026