{"id":"CVE-2022-40276","aliases":["EUVD-2022-43574","GHSA-gq8w-3h98-m48x"],"status":"published","title":"Zettlr version 2.3.0 allows an external attacker to remotely obtain arbitrary local files on any...","description":"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.","severity":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.00391,"percentile":0.33488,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-20"],"published":"2022-11-03T00:00:00Z","modified":"2026-10-28T02:30:28Z","products":[{"vendor":"hendrik erz","product":"zettlr"},{"vendor":"zettlr","product":"zettlr"}],"references":[{"url":"https://github.com/Zettlr/Zettlr","tags":["x_transferred","Product","Third Party Advisory","package"]},{"url":"https://fluidattacks.com/advisories/avicii/","tags":["x_transferred","Exploit","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-40276","tags":["advisory"]},{"url":"https://fluidattacks.com/advisories/avicii"},{"url":"https://github.com/advisories/GHSA-gq8w-3h98-m48x"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/40xxx/CVE-2022-40276.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2022-40276","description":"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.","status":"published","published":"2022-11-03T00:00:00Z","modified":"2025-05-02T20:10:21.875Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","level":"medium","assessor":"adp"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:34:30.842561Z"}],"euvd":[{"id":"EUVD-2022-43574","description":"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.","status":"published","published":"2022-11-03T00:00:00Z","modified":"2025-05-02T20:10:21Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T20:51:55.340761Z"}],"ghsa":[{"id":"GHSA-gq8w-3h98-m48x","title":"Zettlr version 2.3.0 allows an external attacker to remotely obtain arbitrary local files on any...","description":"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.","status":"published","published":"2022-11-04T12:00:25Z","modified":"2025-05-02T21:31:41Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T15:02:06.423076Z"}],"nvd":[{"id":"CVE-2022-40276","description":"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.","status":"published","published":"2022-11-03T20:15:31.29Z","modified":"2026-06-17T05:01:13.017Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","level":"medium","assessor":"primary"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:07:31.504574Z"}],"osv":[{"id":"CVE-2022-40276","description":"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.","status":"published","published":"2022-11-03T00:00:00Z","modified":"2026-10-28T02:30:28.84533264Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:26.860704Z"}]}}
