Veille CVE

‹ Retour à la liste

CVE-2026-84992

6.1 Moyenne

Publiée le 18/09/2026 à 20:17 · Modifiée le 24/09/2026 à 23:25 · Analyse NVD reportée · Source : security-advisories@github.com

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

Traduire en français

Produits concernés

Scores CVSS

VersionScoreSourceVecteur
3.1 6.1 Moyenne security-advisories@github.com CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Faiblesses (CWE)

Références

Ailleurs