CVE-2022-40276: Input Validation

Published Nov 3, 2022
·
Updated

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

1 affected component
Zettlr Zettlr=2.3.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Zettlr to a version that resolves this vulnerability.

    Fixed in 2.3.0

Event History

Nov 3, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Data Sourced
via NVD·08:15 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

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.

2

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).

3

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.

4

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.

5

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).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203