mdc vulnerable to XSS in markdown rendering bypassing HTML filter. (N°4)
Published Jul 18, 2025
8.3
HIGHCVSS 3.1
EPSS 0.30%
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.
Affected products
-
- Version < 0.17.2StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Nuxt-Modules | Mdc | n/a |
|
No data.
No data.
No Red Hat product state for this CVE.
@nuxtjs/mdc
npm
Introduced 0 Fixed 0.17.2
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | @nuxtjs/mdc | 0 | 0.17.2 |
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
PoCAutomatable
YesTechnical Impact
PartialDecision
n/aAssessed Jul 22, 2025 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2025–2026- EPSS v4
- EPSS v5
Percentile over time
- EPSS v4
- EPSS v5
Table of values (3 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.30% (0.00302) | 20.75th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.29% (0.00289) | 20.40th | v5 (v2026.06.15) |
| Jul 19, 2025 | 0.04% (0.00041) | 11.80th | v4 (v2025.03.14) |
References (4)
- https://github.com/advisories/GHSA-cj6r-rrr9-fg82 Advisory
- https://github.com/nuxt-modules/mdc/commit/3657a5bf2326a73cd3d906f57149146a412b962a x_refsource_MISC
- https://github.com/nuxt-modules/mdc/security/advisories/GHSA-cj6r-rrr9-fg82 exploitx_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2025-54075
| Link | Providers | Tags |
|---|---|---|
| https://github.com/advisories/GHSA-cj6r-rrr9-fg82 | Advisory | |
| https://github.com/nuxt-modules/mdc/commit/3657a5bf2326a73cd3d906f57149146a412b962a | x_refsource_MISC | |
| https://github.com/nuxt-modules/mdc/security/advisories/GHSA-cj6r-rrr9-fg82 | exploitx_refsource_CONFIRM | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-54075 |
Change history (0)
No recorded changes yet.