{"id":"CVE-2022-24123","sourceIdentifier":"cve@mitre.org","published":"2022-01-29T23:15:07.497","lastModified":"2026-06-17T04:31:20.570","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"MarkText versiones hasta 0.16.3 no sanea la entrada de un bloque de sirena antes de renderizarlo. Esto podría conllevar a una Ejecución de Código Remota por medio de un archivo .md que contenga una carga útil mutada de tipo Cross-Site Scripting (XSS)"}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","baseScore":9.0,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":2.3,"impactScore":6.0}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:P/I:P/A:P","baseScore":6.8,"accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"MEDIUM","exploitabilityScore":8.6,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-79"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:marktext:marktext:*:*:*:*:*:*:*:*","versionEndIncluding":"0.16.3","matchCriteriaId":"5F071D01-841F-476E-BAF5-A29F31D88D58"}]}]}],"references":[{"url":"https://github.com/marktext/marktext/issues/2946","source":"cve@mitre.org","tags":["Exploit","Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://github.com/marktext/marktext/pull/2947","source":"cve@mitre.org","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/marktext/marktext/issues/2946","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://github.com/marktext/marktext/pull/2947","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Third Party Advisory"]}]}