CVE-2022-24123
CRITICALCVSS 9/10EPSS 1.94%
Last modified
CVE-2022-24123 is a critical-severity vulnerability rated 9/10 on the CVSS scale. 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.. EPSS estimates a 1.94% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Marktext | Marktext | <= 0.16.3 |
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
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is 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.
How severe is CVE-2022-24123?
CVE-2022-24123 has a CVSS score of 9/10 (CRITICAL severity). The EPSS model estimates a 1.94% probability of exploitation in the next 30 days.
How do I fix CVE-2022-24123?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
Are you affected by CVE-2022-24123?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
