XSS in Marktext

CVE-2022-21158

A stored cross-site scripting vulnerability in marktext versions prior to v0.17.0 due to improper handling of the link (with javascript: scheme) inside the document may allow an attacker to execute an arbitrary script on the PC of the user using marktext.

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.005 (42.6th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.

Affected products

  • Marktext — versions versions prior to v0.17.0

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2022-21158?
CVE-2022-21158 is a medium-severity vulnerability in Marktext, classified under Cross-site Scripting. CVSS score: 5.4/10. Published 2022-03-10.
How severe is CVE-2022-21158?
Medium severity. CVSS v3 base score is 5.4 out of 10.