{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-84992","id":"CVE-2026-84992","title":"md-editor-v3: XSS via fenced-code language rendering bypass","description":"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 v","descriptionLong":"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","published":"2026-09-18T17:10:08.497Z","updated":"2026-10-28T02:30:44.874214905Z","reserved":"2026-09-02T18:12:13.534Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["imzbf md-editor-v3"],"affectedProducts":[{"vendor":"imzbf","product":"md-editor-v3","defaultStatus":null,"versions":[{"version":"< 6.5.4","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"md-editor-v3","purl":"pkg:npm/md-editor-v3","ranges":["<6.5.4"],"fixed":["6.5.4"],"advisory":"GHSA-3rm2-h79c-8qw6"}],"cwes":["CWE-79"],"aliases":["GHSA-3rm2-h79c-8qw6"],"references":[{"url":"https://github.com/imzbf/md-editor-v3/security/advisories/GHSA-3rm2-h79c-8qw6","tags":["x_refsource_CONFIRM","exploit","advisory","web"]},{"url":"https://github.com/imzbf/md-editor-v3/commit/2c07360420e74087f5bc63032ab155d93e0a0b10","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/imzbf/md-editor-v3/releases/tag/v6.5.4","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/84xxx/CVE-2026-84992.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-84992","tags":["advisory"]},{"url":"https://github.com/imzbf/md-editor-v3","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00327,"epssPercentile":0,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-84992","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-84992","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-84992","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-3rm2-h79c-8qw6","ok":true,"note":"GHSA-3rm2-h79c-8qw6"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-84992","ok":true,"note":"scored "}],"aiTitle":false,"tech":[],"critical":[],"attention":null}