CVE-2026-84992
MEDIUM 6.1CVSS 3.1md-editor-v3: XSS via fenced-code language rendering bypass
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
- 18 Sep 2026
- Last modified
- 24 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-79
- Also known as
- GHSA-3rm2-h79c-8qw6
- Sources
- NVDJSONOSV GHSA-3rm2-h79c-8qw6JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | md-editor-v3 | < 6.5.4 | 6.5.4 |
References
- https://github.com/imzbf/md-editor-v3/commit/2c07360420e74087f5bc63032ab155d93e0a0b10 · WEB
- https://github.com/imzbf/md-editor-v3/releases/tag/v6.5.4 · WEB
- https://github.com/imzbf/md-editor-v3/security/advisories/GHSA-3rm2-h79c-8qw6 · WEB
- https://github.com/imzbf/md-editor-v3 · PACKAGE
History
- 25 Nov 2026 21:21 UTC · NVD: first stored (published 18 Sep 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 18 Sep 2026)