# CVE-2026-84992: md-editor-v3: XSS via fenced-code language rendering bypass

- Severity: Medium 6.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-18T17:10:08.497Z
- Modified: 2026-09-24T21:25:27.050Z
- Also known as: GHSA-3rm2-h79c-8qw6
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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 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

(As written by CVE List.)

## Affected

- imzbf md-editor-v3: < 6.5.4
- md-editor-v3 (npm): before 6.5.4

## Every score

- GitHub_M: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/imzbf/md-editor-v3/security/advisories/GHSA-3rm2-h79c-8qw6> (exploit, web)
- <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> (package)

## Sources

- CVE List: [CVE-2026-84992](https://www.cve.org/CVERecord?id=CVE-2026-84992), CVE Terms of Use, modified 2026-09-18
- GitHub Advisory Database: [GHSA-3rm2-h79c-8qw6](https://github.com/advisories/GHSA-3rm2-h79c-8qw6), CC-BY-4.0, modified 2026-09-18
- NVD: [CVE-2026-84992](https://nvd.nist.gov/vuln/detail/CVE-2026-84992), Public domain, modified 2026-09-24

---

Page: https://cve.day/CVE-2026-84992 · Whole record: https://cve.day/CVE-2026-84992.json · Rebuilt by cve.day 2026-11-25T22:59:39.650Z
