Description
Zettlr before 4.11.0 fails to validate URI schemes in Markdown link targets, allowing attackers to launch arbitrary registered protocol handlers via Electron shell.openExternal without confirmation. Attackers can craft documents whose Ctrl/Cmd-clicked links use smb:// to leak NTLM credential hashes on Windows or invoke custom protocol handlers with attacker-controlled parameters.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Zettlr | Zettlr | < 4.11.0 | 4.11.0 |
References
- GitHub Security Advisory (GHSA-4c93-g77j-cx8w) vendor-advisory
- https://github.com/Zettlr/Zettlr/commit/77d8015ea437a355027a403532ebdad4bf1e4238 patch
- Zettlr v4.11.0 Release Notes release-notes
- VulnCheck Advisory: Zettlr before 4.11.0 Unvalidated URI Scheme Handling via Markdown Links third-party-advisory