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, 80.5th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (ARPSyndicate/cvemon, wuhan005/wuhan005). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/marktext/marktext/issues/2946 (Exploit, Patch, Third Party Advisory, Issue Tracking)
- github.com/marktext/marktext/pull/2947 (Patch, Third Party Advisory)