Improper input validation in Zettlr

CVE-2022-40276

Zettlr version 2.3.0 allows an external attacker to remotely obtain arbitrary local files on any client that attempts to view a malicious markdown file through Zettlr. This is possible because the application does not have a CSP policy (or at least not strict enough) and/or does not properly validate the contents of markdown files before rendering them.

Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)

EPSS: 0.004 (30.7th percentile) — read the EPSS interpretation.

CVSS v3 metric

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

Affected products

  • Zettlr — versions 2.3.0
  • N/a Zettlr — versions 2.3.0

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2022-40276?
CVE-2022-40276 is a medium-severity vulnerability in Zettlr, classified under Improper Input Validation. CVSS score: 5.5/10. Published 2022-11-03.
How severe is CVE-2022-40276?
Medium severity. CVSS v3 base score is 5.5 out of 10.