CVE-2026-137996

Zettlr before 4.11.0 Unvalidated URI Scheme Handling via Markdown Links

Published Nov 27, 2026 CVSS 4.0 · 6.8 Medium EPSS n/a KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Zettlr applications built on the Electron framework do not validate the URI scheme in Markdown link targets. When a user clicks a Ctrl/Cmd‑linked address, the application calls Electron's shell.openExternal without a confirmation dialog, allowing any protocol handler registered on the system to run. This flaw can enable an attacker to execute arbitrary code or to trigger side‑channel leaks, such as using smb:// links on Windows to disclose NTLM credential hashes or invoking custom protocol handlers with attacker‑controlled parameters. The vulnerability represents an uncontrolled invocation of external processes via user‑controlled input and can therefore lead to remote code execution or credential theft.

Affected Systems

Desktop clients of Zettlr older than version 4.11.0 are affected. The product is the Zettlr note‑taking application supplied by the vendor Zettlr.

Risk and Exploitability

The CVSS score of 6.8 classifies the flaw as medium severity. An EPSS score is not provided, and the vulnerability is not listed in the CISA KEV catalog, indicating that no publicly known exploits have been documented. An attacker would need to supply a malicious Markdown document containing links with an unsafe URI scheme and persuade the victim to open the file and click the link. The likely attack vector is user‑initiated interaction, making human‑based social engineering a key component of exploitation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Zettlr to version 4.11.0 or later, which implements URI scheme validation for Markdown links.
  • Remove or isolate any documents received from untrusted sources before opening them in Zettlr.
  • If an update is not yet available, restrict the application’s ability to invoke external protocols by modifying the Electron configuration to disable shell.openExternal or requiring user confirmation for all external links.

Generated by OpenCVE AI on November 27, 2026 at 17:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
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.
Title Zettlr before 4.11.0 Unvalidated URI Scheme Handling via Markdown Links
First Time appeared Zettlr
Zettlr zettlr
Weaknesses CWE-20
CPEs cpe:2.3:a:zettlr:zettlr:*:*:*:*:*:*:*:*
Vendors & Products Zettlr
Zettlr zettlr
References
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 6.8, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-20

    Improper Input Validation

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 27, 2026, 4:10 PM
Reserved
Nov 27, 2026, 3:59 PM
Status
Received
Published
Nov 27, 2026, 5:17 PM
Modified
Nov 27, 2026, 5:17 PM