CVE-2022-40276: Input Validation
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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Zettlrto a version that resolves this vulnerability.Fixed in 2.3.0
Event History
Frequently Asked Questions
What is the vulnerability ID for this issue in Zettlr version 2.3.0?
The vulnerability ID for this issue in Zettlr version 2.3.0 is CVE-2022-40276.
What is the severity of CVE-2022-40276 in Zettlr version 2.3.0?
The severity of CVE-2022-40276 in Zettlr version 2.3.0 is medium (5.5).
How can an external attacker exploit CVE-2022-40276 in Zettlr version 2.3.0?
An external attacker can remotely obtain arbitrary local files on any client that attempts to view a malicious markdown file through Zettlr in version 2.3.0.
What can mitigate the vulnerability CVE-2022-40276 in Zettlr version 2.3.0?
To mitigate the vulnerability CVE-2022-40276 in Zettlr version 2.3.0, it is recommended to implement a stricter Content Security Policy (CSP) and ensure proper validation of file paths.
Where can I find more information about CVE-2022-40276 in Zettlr version 2.3.0?
You can find more information about CVE-2022-40276 in Zettlr version 2.3.0 on the following references: [Fluid Attacks Advisory](https://fluidattacks.com/advisories/avicii/) and [Zettlr GitHub Repository](https://github.com/Zettlr/Zettlr).