{
  "id": "CVE-2025-54075",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-54075",
  "published_at": "2025-07-18T15:47:38.236Z",
  "title": "mdc vulnerable to XSS in markdown rendering bypassing HTML filter. (N°4)",
  "vendor": "nuxt-modules",
  "product": "mdc",
  "cvss": {
    "score": 8.3,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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 `\u003cbase href=\"https://attacker.tld\"\u003e` element. The `\u003cbase\u003e` 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.",
  "cwe": "CWE-79",
  "cvss_by_source": {
    "cna": 8.3
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "nuxt-modules",
        "product": "mdc",
        "ranges": [
          "\u003c 0.17.2"
        ],
        "fixed_in": [
          "0.17.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade mdc to 0.17.2 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/nuxt-modules/mdc/security/advisories/GHSA-cj6r-rrr9-fg82"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/nuxt-modules/mdc/commit/3657a5bf2326a73cd3d906f57149146a412b962a"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
