{"id":"CVE-2022-40276","details":"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.","modified":"2026-08-12T03:51:15.959498515Z","published":"2022-11-03T00:00:00Z","database_specific":{"cna_assigner":"Fluid Attacks","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/40xxx/CVE-2022-40276.json"},"references":[{"type":"ADVISORY","url":"https://fluidattacks.com/advisories/avicii/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/40xxx/CVE-2022-40276.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-40276"},{"type":"PACKAGE","url":"https://github.com/Zettlr/Zettlr"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/zettlr/zettlr","events":[{"introduced":"c71181c27a158eebd366aa12ebfb01c2592b866e"},{"last_affected":"c71181c27a158eebd366aa12ebfb01c2592b866e"}],"database_specific":{"cpe":"cpe:2.3:a:zettlr:zettlr:2.3.0:*:*:*:*:*:*:*","extracted_events":[{"introduced":"2.3.0"},{"last_affected":"2.3.0"}],"source":["AFFECTED_FIELD","CPE_STRING"]}}],"versions":["2.3.0","v2.3.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-40276.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"}]}