{"id":"CVE-2022-21158","aliases":["EUVD-2022-26403","GHSA-xfpv-q4q6-7j43"],"status":"published","title":"A stored cross-site scripting vulnerability in marktext versions prior to v0.17.0 due to improper...","description":"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.","severity":{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.00535,"percentile":0.45389,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-79"],"published":"2022-03-07T09:00:35Z","modified":"2026-10-28T02:30:30Z","products":[{"vendor":"marktext","product":"marktext"}],"references":[{"url":"https://github.com/marktext/marktext/releases/tag/v0.17.0","tags":["x_refsource_MISC","x_transferred","Release Notes","Third Party Advisory","web"]},{"url":"https://jvn.jp/en/jp/JVN89524240/index.html","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","VDB Entry","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21158","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-xfpv-q4q6-7j43"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/21xxx/CVE-2022-21158.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2022-21158","description":"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.","status":"published","published":"2022-03-07T09:00:35Z","modified":"2024-08-03T02:31:59.012Z","updated_at":"2026-11-02T14:34:29.057251Z"}],"euvd":[{"id":"EUVD-2022-26403","description":"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.","status":"published","published":"2022-03-07T09:00:35Z","modified":"2024-08-03T02:31:59Z","updated_at":"2026-11-03T03:25:54.006451Z"}],"ghsa":[{"id":"GHSA-xfpv-q4q6-7j43","title":"A stored cross-site scripting vulnerability in marktext versions prior to v0.17.0 due to improper...","description":"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.","status":"published","published":"2022-03-11T00:02:19Z","modified":"2023-01-27T05:00:36Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:41:43.230329Z"}],"nvd":[{"id":"CVE-2022-21158","description":"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.","status":"published","published":"2022-03-10T17:45:09.703Z","modified":"2026-06-17T04:25:38.917Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":3.5,"vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","level":"low","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:07:13.7085Z"}],"osv":[{"id":"CVE-2022-21158","description":"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.","status":"published","published":"2022-03-07T09:00:35Z","modified":"2026-10-28T02:30:30.130033702Z","updated_at":"2026-11-02T15:44:23.655778Z"}]}}
