{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-24123","published":"2022-01-29T23:15:07.497000Z","last_modified":"2026-06-17T04:31:20.570000Z","status":"Modified","cvss":{"version":"3.1","score":9.0,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:marktext:marktext:*:*:*:*:*:*:*:*","part":"a","vendor":"marktext","product":"marktext","version_end_including":"0.16.3"}],"cpes_truncated":false,"vendors":["marktext"],"products":["marktext/marktext"],"epss":{"score":0.01917,"percentile":0.80484,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":54,"links":{"html_es":"/es/cve/CVE-2022-24123/","html_en":"/en/cve/CVE-2022-24123/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-24123","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-24123"},"untrusted":{"vendor_name":"Marktext","product_name":"Marktext","desc_en":"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.","affected":[],"references":[{"url":"https://github.com/marktext/marktext/issues/2946","tags":["Exploit","Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://github.com/marktext/marktext/pull/2947","tags":["Patch","Third Party Advisory"]}]}}