CVE-2022-24123

CVSS V2 Medium 6.8 CVSS V3 Critical 9
Description
MarkText through 0.16.3 does not sanitize the input of a mermaid block before rendering. This could lead to Remote Code Execution via a .md file containing a mutation Cross-Site Scripting (XSS) payload.
Overview
  • CVE ID
  • CVE-2022-24123
  • Assigner
  • cve@mitre.org
  • Vulnerability Status
  • Analyzed
  • Published Version
  • 2022-01-29T23:15:07
  • Last Modified Date
  • 2022-02-04T15:55:17
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:a:marktext:marktext:*:*:*:*:*:*:*:* 1 OR 0.16.3
CVSS Version 2
  • Version
  • 2.0
  • Vector String
  • AV:N/AC:M/Au:N/C:P/I:P/A:P
  • Access Vector
  • NETWORK
  • Access Compatibility
  • MEDIUM
  • Authentication
  • NONE
  • Confidentiality Impact
  • PARTIAL
  • Integrity Impact
  • PARTIAL
  • Availability Impact
  • PARTIAL
  • Base Score
  • 6.8
  • Severity
  • MEDIUM
  • Exploitability Score
  • 8.6
  • Impact Score
  • 6.4
CVSS Version 3
  • Version
  • 3.1
  • Vector String
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
  • Attack Vector
  • NETWORK
  • Attack Compatibility
  • LOW
  • Privileges Required
  • LOW
  • User Interaction
  • REQUIRED
  • Scope
  • CHANGED
  • Confidentiality Impact
  • HIGH
  • Availability Impact
  • HIGH
  • Base Score
  • 9
  • Base Severity
  • CRITICAL
  • Exploitability Score
  • 2.3
  • Impact Score
  • 6
References
Reference URL Reference Tags
https://github.com/marktext/marktext/issues/2946 Exploit Issue Tracking Patch Third Party Advisory
https://github.com/marktext/marktext/pull/2947 Patch Third Party Advisory
History
Created Old Value New Value Data Type Notes
2022-05-10 06:34:17 Added to TrackCVE
2022-12-06 08:10:32 2022-01-29T23:15Z 2022-01-29T23:15:07 CVE Published Date updated
2022-12-06 08:10:32 2022-02-04T15:55:17 CVE Modified Date updated
2022-12-06 08:10:32 Analyzed Vulnerability Status updated