Vulnerability library
Security checkSeptember 05, 2023

Cross-site Scripting in markdown-it-highlightjs

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

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

This affects the package markdown-it-highlightjs before 3.3.1. It is possible insert malicious JavaScript as a value of lang in the markdown-it-highlightjs Inline code highlighting feature.

Recommendation

Update the markdown-it-highlightjs package to the latest compatible version. Followings are version details:

  • Affected version(s): < 3.3.1
  • Patched version(s): 3.3.1

References

Could your website be exposed too?

SmartScanner can check your website for Cross-site Scripting in markdown-it-highlightjs and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated September 05, 2023