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)

Published · last modified .

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.

EPSS exploit prediction

EPSS: 0.004 (29.3th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 29th percentile — 29.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2022-40276: held from 0.004 to 0.004.

EPSS over last 30 days · oldest: 0.004 · newest: 0.004 · change: 0.000

Affected products

  • Zettlr — versions 2.3.0
  • 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.