{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-21158","published":"2022-03-10T17:45:09.703000Z","last_modified":"2026-06-17T04:25:38.917000Z","status":"Modified","cvss":{"version":"3.1","score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","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_excluding":"0.17.0"}],"cpes_truncated":false,"vendors":["marktext"],"products":["marktext/marktext"],"epss":{"score":0.00568,"percentile":0.40893,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":32,"links":{"html_es":"/es/cve/CVE-2022-21158/","html_en":"/en/cve/CVE-2022-21158/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-21158","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-21158"},"untrusted":{"vendor_name":"Marktext","product_name":"Marktext","desc_en":"A stored cross-site scripting vulnerability in marktext versions prior to v0.17.0 due to improper handling of the link (with javascript: scheme) inside the document may allow an attacker to execute an arbitrary script on the PC of the user using marktext.","affected":[{"untrusted_vendor":"MarkText","untrusted_product":"MarkText","versions":[]}],"references":[{"url":"https://github.com/marktext/marktext/releases/tag/v0.17.0","tags":["Release Notes","Third Party Advisory"]},{"url":"https://jvn.jp/en/jp/JVN89524240/index.html","tags":["Third Party Advisory","VDB Entry"]}]}}