Improper input validation in Zettlr
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | Zettlr | 2.3.0 | — | No fix listed | CNA |
- Zettlr Vendor— Affected 2.3.0 Fixed in — No fix listed CNA
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2022-40276
- 2026-10-03 Alias added: GHSA-gq8w-3h98-m48x
References
Advisory 1
More Zettlr vulnerabilities
- TI-2021-08459 No filtering of cross-site scripting (XSS) payloads in the markdown-editor in Zettlr… CVSS 3.1MEDIUM 6.1
- TI-2021-03953 Cross-site scripting in Hendrik Erz Zettlr CVSS 3.1MEDIUM 6.1
Sources
- CVE-2022-40276 · CVE Program
- CVE-2022-40276 · NVD
- FIRST EPSS
- GHSA-gq8w-3h98-m48x · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences