CVE-2022-42967

published 11 Jan 2023 · updated 8 Apr 2025

XSS in Caret markdown editor leads to remote code execution when viewing crafted Markdown files

7.5HighCVSS 7.5EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in *.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
careteditor*

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-42967 severity on Zeptric[![CVE-2022-42967](https://zeptric.io/badge/cve/CVE-2022-42967.svg)](https://zeptric.io/cve/CVE-2022-42967)