Vulnerability library
Security checkSeptember 18, 2026

md-editor-v3: XSS via fenced-code language rendering bypass

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

Medium severitynpmmd-editor-v3

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

MdPreview interpolates a fenced-code language into HTML attributes without escaping it. A crafted info string therefore executes JavaScript even when the shipped XSSPlugin is enabled.

Recommendation

Update the md-editor-v3 package to the latest compatible version. Followings are version details:

  • Affected version(s): <= 6.5.3
  • Patched version(s): 6.5.4

References

Could your website be exposed too?

SmartScanner can check your website for md-editor-v3: XSS via fenced-code language rendering bypass and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated September 18, 2026