Back to CVE catalog
CVE-2025-54075

Remote script-injection / stored cross-site scripting in @nuxtjs/mdc

nuxt-modules mdc

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityLow
IntegrityLow
AvailabilityLow

CVSS summary v3.1

8.3High
Published:
Updated:
EPSS:
0.344%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:nuxt-modulesmdcAffected versions:
< 0.17.2

1–1 of 1 · Page 1 of 1

CVSS scores and metrics3
GitHub_M · CVE List / CNA (cna)Primary8.3 / 10HighCVSS 3.1Details
Attack complexity
Low
Confidentiality
Low
Integrity
Low
Availability
Low
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Changed

Source vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
[email protected] · NVD (Secondary)8.3 / 10HighCVSS 3.1Details
Attack complexity
Low
Confidentiality
Low
Integrity
Low
Availability
Low
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Changed

Source vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
CVE-2025-54075 · OSV (source-vector)8.3 / 10HighCVSS 3.1Details
Attack complexity
Low
Confidentiality
Low
Integrity
Low
Availability
Low
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Changed

Source vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories7

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences