CVE-2022-24123
Dashboard / Vulnerabilities / CVE-2022-24123
CVE-2022-24123
Published: 29 Jan 2022Last Modified: 12 Aug 2026
Summary:
Details: 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.
References: https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24123.json, https://nvd.nist.gov/vuln/detail/CVE-2022-24123, https://github.com/marktext/marktext/issues/2946, https://github.com/marktext/marktext/pull/2947
Affected packages
Package
Name:
Purl:
Affected ranges
Affected versions
v0.16.2
v0.16.0
v0.16.0-rc.3
v0.16.0-rc.2
v0.16.0-rc.1
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
