# CVE-2022-42967: XSS in Caret markdown editor leads to remote code execution when viewing crafted Markdown files

- Severity: High 7.5 (CVSS:3.1, scored by JFROG) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.90%, higher than 60% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-01-11T00:00:00.000Z
- Modified: 2026-06-17T05:05:41.117Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: JFROG

## 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.

(As written by CVE List.)

## Affected

- careteditor caret: before *
- caret caret: no versions given

## Every score

- JFROG: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`

## References

- <https://research.jfrog.com/vulnerabilities/caret-xss-rce/> (exploit, third-party-advisory)

## Sources

- CVE List: [CVE-2022-42967](https://www.cve.org/CVERecord?id=CVE-2022-42967), CVE Terms of Use, modified 2025-04-08
- NVD: [CVE-2022-42967](https://nvd.nist.gov/vuln/detail/CVE-2022-42967), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-42967 · Whole record: https://cve.day/CVE-2022-42967.json · Rebuilt by cve.day 2026-11-25T22:58:18.159Z
