{"id":"CVE-2026-84992","published":"2026-09-18T17:10:08Z","modified":"2026-09-18T18:06:19Z","title":"md-editor-v3: XSS via fenced-code language rendering bypass","vendor":"imzbf","product":"md-editor-v3","tier":"tail","description":{"text":"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","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00327,"percentile":0.26444,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/imzbf/md-editor-v3/security/advisories/GHSA-3rm2-h79c-8qw6","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/imzbf/md-editor-v3/commit/2c07360420e74087f5bc63032ab155d93e0a0b10","tags":["x_refsource_MISC"]},{"url":"https://github.com/imzbf/md-editor-v3/releases/tag/v6.5.4","tags":["x_refsource_MISC"]}],"priority":{"score":9.6,"factors":[{"name":"EPSS percentile","points":5.29},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"imzbf","affectedVersions":[{"vendor":"imzbf","product":"md-editor-v3","versions":["< 6.5.4"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-18T18:06:01.191667Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"md-editor-v3","vulnerableRanges":["<6.5.4"],"patched":["6.5.4"],"from":["GHSA-3rm2-h79c-8qw6"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-83198","exploited":false,"provenance":"source"}}