{"id":"CVE-2022-42967","aliases":["EUVD-2022-46019","GHSA-9852-mg56-6j5x"],"status":"published","title":"XSS in Caret markdown editor leads to remote code execution when viewing crafted Markdown files","description":"Caret is vulnerable to an XSS attack when the user opens a crafted Markdown file when preview mode is enabled. This directly leads to client-side code execution.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00863,"percentile":0.58869,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-79"],"published":"2023-01-11T00:00:00Z","modified":"2026-06-17T05:05:41Z","products":[{"vendor":"caret","product":"caret"},{"vendor":"careteditor","product":"caret"}],"references":[{"url":"https://research.jfrog.com/vulnerabilities/caret-xss-rce/","tags":["x_transferred","Exploit","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-42967"},{"url":"https://github.com/advisories/GHSA-9852-mg56-6j5x"}],"sources":{"cve":[{"id":"CVE-2022-42967","title":"XSS in Caret markdown editor leads to remote code execution when viewing crafted Markdown files","description":"Caret is vulnerable to an XSS attack when the user opens a crafted Markdown file when preview mode is enabled. This directly leads to client-side code execution.","status":"published","published":"2023-01-11T00:00:00Z","modified":"2025-04-08T14:34:55.464Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:34:27.640972Z"}],"euvd":[{"id":"EUVD-2022-46019","description":"Caret is vulnerable to an XSS attack when the user opens a crafted Markdown file when preview mode is enabled. This directly leads to client-side code execution.","status":"published","published":"2023-01-11T00:00:00Z","modified":"2025-04-08T14:34:55Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T20:52:40.053562Z"}],"ghsa":[{"id":"GHSA-9852-mg56-6j5x","title":"Caret is vulnerable to an XSS attack when the user opens a crafted Markdown file when preview...","description":"Caret is vulnerable to an XSS attack when the user opens a crafted Markdown file when preview mode is enabled. This directly leads to client-side code execution.","status":"published","published":"2023-01-11T15:30:42Z","modified":"2023-02-03T05:04:21Z","cvss":[{"version":"3.1","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:53:32.269639Z"}],"nvd":[{"id":"CVE-2022-42967","description":"Caret is vulnerable to an XSS attack when the user opens a crafted Markdown file when preview mode is enabled. This directly leads to client-side code execution.","status":"published","published":"2023-01-11T13:15:09.197Z","modified":"2026-06-17T05:05:41.117Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"},{"version":"3.1","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","level":"critical","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:07:35.157734Z"}]}}
