{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "6.5.4"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "701a5f868886fce273c279f84ed67b6209931b42"
            }
          ],
          "repo": "https://github.com/imzbf/md-editor-v3",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-3rm2-h79c-8qw6"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/84xxx/CVE-2026-84992.json"
  },
  "details": "md-editor-v3 is a Markdown editor for Vue 3 developed in JSX and TypeScript. Prior to 6.5.4, MdPreview's useMarkdownIt() highlight callback in packages/MdEditor/layouts/Content/composition/useMarkdownIt.ts inserts a fenced-code language value into class and language HTML attributes without escaping or consistently quoting it. Both highlighted and non-highlighted rendering paths reach this return value, while XSSPlugin filters only existing html_block and html_inline tokens before rendering and therefore cannot inspect the renderer-generated HTML. An attacker who can supply Markdown can use crafted fenced-code metadata to execute JavaScript in the application origin when a victim renders it, including as stored cross-site scripting when the host persists the Markdown. This issue is fixed in version 6.5.4",
  "id": "CVE-2026-84992",
  "modified": "2026-09-19T03:31:00.261297335Z",
  "published": "2026-09-18T17:10:08.497Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/84xxx/CVE-2026-84992.json"
    },
    {
      "type": "FIX",
      "url": "https://github.com/imzbf/md-editor-v3/commit/2c07360420e74087f5bc63032ab155d93e0a0b10"
    },
    {
      "type": "WEB",
      "url": "https://github.com/imzbf/md-editor-v3/releases/tag/v6.5.4"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/imzbf/md-editor-v3/security/advisories/GHSA-3rm2-h79c-8qw6"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-84992"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "md-editor-v3: XSS via fenced-code language rendering bypass"
}