{"id":"CVE-2022-21158","aliases":["CVE-2022-21158"],"related":[],"kind":"vulnerability","state":"published","title":"A stored cross-site scripting vulnerability in marktext versions prior to v0.17.0 due to improper handling of the link (with javascript: sc…","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Una vulnerabilidad de tipo cross-site scripting almacenada en  marktext versiones anteriores a la v0.17.0 debido a un manejo inapropiado del enlace (con esquema javascript:) dentro del documento puede permitir a un atacante ejecutar un script arbitrario en el PC del usuario que usando marktext","source":"nvd"}],"published":"2022-03-07T09:00:35.000Z","modified":"2026-06-17T04:25:38.917Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","score":3.5,"rating":"LOW"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"versions prior to v0.17.0","status":"affected"}],"vendor":"MarkText","product":"MarkText","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"0.17.0"}],"vendor":"marktext","product":"marktext","cpe":"cpe:2.3:a:marktext:marktext:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/marktext/marktext/releases/tag/v0.17.0","tags":["release-notes","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://jvn.jp/en/jp/JVN89524240/index.html","tags":["third-party-advisory","vdb-entry","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"jpcert","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-21158","url":"https://www.cve.org/CVERecord?id=CVE-2022-21158","licence":"CVE Terms of Use","modified":"2024-08-03T02:31:59.012Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-21158","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21158","licence":"Public domain","modified":"2026-06-17T04:25:38.917Z"}],"updatedAt":"2026-11-25T22:58:09.993Z","epss":{"score":0.00535,"percentile":0.46574,"date":"2026-12-02T12:00:21.000Z"}}