VulnerabilityModified
CVE-2022-24123
This could lead to Remote Code Execution via a .md file containing a mutation Cross-Site Scripting (XSS) payload.
CRITICAL 9.0EPSS 1.94%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.94%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 9.0 CRITICALCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
- EPSS
- 1.94% probability · 79th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-79
- Affected
- marktext/marktext
- Source
- cve@mitre.org
References
- https://github.com/marktext/marktext/issues/2946Exploit, Issue Tracking, Patch, Third Party Advisory
- https://github.com/marktext/marktext/pull/2947Patch, Third Party Advisory
- https://github.com/marktext/marktext/issues/2946Exploit, Issue Tracking, Patch, Third Party Advisory
- https://github.com/marktext/marktext/pull/2947Patch, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.