XSS in Marktext
CVE-2022-24123
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.0 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.019 (79.4th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 79th percentile — 79.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.019 · newest: 0.019 · change: 0.000
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/marktext/marktext/issues/2946 (Exploit, Patch, Third Party Advisory, Issue Tracking)
- github.com/marktext/marktext/pull/2947 (Patch, Third Party Advisory)
Frequently asked questions
- What is CVE-2022-24123?
- CVE-2022-24123 is a critical-severity vulnerability in Marktext, classified under Cross-site Scripting. CVSS score: 9.0/10. Published 2022-01-29.
- How severe is CVE-2022-24123?
- Critical severity. CVSS v3 base score is 9.0 out of 10.
- Is CVE-2022-24123 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.