CVE-2025-54075CWE-79

mdc vulnerable to XSS in markdown rendering bypassing HTML filter. (N°4)

High · published July 18, 2025

CVSS v3.1
8.3
EPSS
0%
Percentile
26.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.3 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
CVSS v4.0
Not supplied
EPSS
0.00344 · 26.5th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2025-07-18T15:47Z
EPSS history
Timeline
  • 18 JUL 15:47Z
    mdc vulnerable to XSS in markdown rendering bypassing HTML filter. (N°4)
    cvelistv5