CVE-2022-24123
9.0critical
MarkText through 0.16.3 does not sanitize the input of a mermaid block before rendering.
- Severity
- 9.0critical CVSS:3.1 by NVD
- Exploit likelihood
- 2.01% (higher than 81% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
Description
MarkText through 0.16.3 does not sanitize the input of a mermaid block before rendering. This could lead to Remote Code Execution via a .md file containing a mutation Cross-Site Scripting (XSS) payload.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| marktext marktext | up to 0.16.3 | NVD |
All scores
| NVD | 9.0critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H |
| NVD | 6.8medium CVSS:2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
MarkText through 0.16.3 does not sanitize the input of a mermaid block before rendering. This could lead to Remote Code Execution via a .md file containing a mutation Cross-Site Scripting (XSS) payload.
NVD (es)
MarkText versiones hasta 0.16.3 no sanea la entrada de un bloque de sirena antes de renderizarlo. Esto podría conllevar a una Ejecución de Código Remota por medio de un archivo .md que contenga una carga útil mutada de tipo Cross-Site Scripting (XSS)
References
| https://github.com/marktext/marktext/issues/2946 | exploit, issue-tracking, patch, third-party-advisory | |
| https://github.com/marktext/marktext/pull/2947 | patch, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-24123 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2022-24123 changed 2026-06-17 | Public domain |