{"id":"CVE-2022-40276","state":"PUBLISHED","title":"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 poss","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.","publishedAt":"2022-11-03T00:00:00.000Z","updatedAt":"2025-05-02T20:10:21.875Z","severity":{"score":5.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","source":"CISA-ADP"},"assigner":"Fluid Attacks","products":["n/a Zettlr"],"affected":[{"vendor":"n/a","product":"Zettlr","versions":[{"version":"2.3.0","status":"affected"}]}],"references":["https://github.com/Zettlr/Zettlr","https://fluidattacks.com/advisories/avicii/"],"weaknesses":["CWE-20"],"ingestedAt":"2026-10-29T19:50:35.280Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/40xxx/CVE-2022-40276.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-40276","state":"PUBLISHED","datePublished":"2022-11-03T00:00:00.000Z","dateUpdated":"2025-05-02T20:10:21.875Z","assignerShortName":"Fluid Attacks","assignerOrgId":"84fe0718-d6bb-4716-a7e8-81a6d1daa869","dateReserved":"2022-09-08T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"Zettlr","versions":[{"version":"2.3.0","status":"affected"}]}],"references":[{"url":"https://github.com/Zettlr/Zettlr"},{"url":"https://fluidattacks.com/advisories/avicii/"}],"problemTypes":[{"descriptions":[{"type":"text","lang":"en","description":"Insecure or unset HTTP headers - Content-Security-Policy"}]}],"providerMetadata":{"shortName":"Fluid Attacks","orgId":"84fe0718-d6bb-4716-a7e8-81a6d1daa869","dateUpdated":"2022-11-03T00:00:00.000Z"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/Zettlr/Zettlr","tags":["x_transferred"]},{"url":"https://fluidattacks.com/advisories/avicii/","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T12:14:39.985Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":5.5,"attackVector":"LOCAL","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","integrityImpact":"NONE","userInteraction":"REQUIRED","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-05-02T20:09:45.522339Z","id":"CVE-2022-40276","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-20","type":"CWE","lang":"en","description":"CWE-20 Improper Input Validation"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-05-02T20:10:21.875Z"}}]}}}