CVE-2022-42967

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

State
Published
Severity
7.5 High
Published
Jan 11, 2023
Updated
Apr 8, 2025
Reserved
Oct 15, 2022

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:HJFROG

Weaknesses

  • CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Affected Products

ProductVersions
caretcareteditor
  • all versionsAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.