CVEvulnerability
CVE-2022-24123
9.0 CRITICAL
Official page ↗
- Status
- Modified
- Published
- 2022-01-29
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 9.0 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 6.8 MEDIUM — AV:N/AC:M/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-79
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 configurations
• marktext marktext (<= 0.16.3)
Related
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
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
- 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