Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious Markdown document with non-http URI
-
ExploitVictim opens note and Ctrl/Cmd-clicks link
-
Executionshell.openExternal launches arbitrary scheme without allowlist
-
ImpactOutbound smb:// leaks NTLMv2 hash or invokes vulnerable handler
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
|
| Exploitation Conditions | Requires the victim to open an attacker-controlled Markdown document in Zettlr before 4.11.0 and then Ctrl/Cmd-click a link whose target uses a non-http(s) scheme (e.g. smb://, ms-msdt:, vscode:, steam:); makeValidUri passes any scheme://... through unchanged to shell.openExternal with no allowlist. Concrete prerequisites and limits: (1) user interaction is mandatory - the link must be modifier-clicked, so no silent/automatic trigger (UI:P); (2) the vector is local (AV:L) because the malicious document must be delivered and opened; (3) the high-value NTLMv2 credential-theft outcome is specific to Windows via smb://; (4) escalation beyond credential leakage to code execution requires a vulnerable or attacker-useful protocol handler to be registered on the victim's OS, so impact is environment-dependent. file:// is not exploitable for launching a planted executable because makeValidUri rewrites it to the internal safe-file:// scheme. No special configuration is otherwise needed - the missing allowlist affects default installations. |
| Impact | Signals point to a genuine but moderate-priority issue rather than an emergency. The supplied CVSS 4.0 vector (6.8) is Local (AV:L) and requires passive user interaction (UI:P) - the victim must open an attacker-supplied document and Ctrl/Cmd-click a crafted link - which caps real-world risk well below a remote-unauthenticated flaw despite PR:N. No CISA KEV entry and no EPSS score are present in the input, so there is no evidence of active or widespread exploitation; the vuln.today Decision label is 'this_month' (not act_now/emergency), consistent with a patch-this-cycle rather than drop-everything posture. A public PoC reference exists in the GHSA advisory (a one-line Markdown snippet), but it is not verified as working exploit code and must not be conflated with active exploitation. The headline impact (VC:H) reflects NTLMv2 hash theft via smb:// on Windows, which is realistic and relayable; the escalation to code execution is explicitly handler-dependent (e.g. a Follina-style ms-msdt: or a vulnerable custom scheme) and therefore environment-specific, not universal. Net: a legitimate control gap worth patching promptly, but the local vector plus required user interaction make it a targeted/opportunistic social-engineering risk rather than a mass-exploitation threat. |
| Exploit ScenarioDerived | An attacker shares or plants a Markdown note (routinely exchanged among Zettlr users) containing a link such as smb://attacker-host/share; when the victim opens the document and Ctrl/Cmd-clicks the link, Zettlr passes it to Electron's shell.openExternal with no scheme allowlist, triggering outbound SMB authentication that leaks the user's NTLMv2 hash on Windows. Substituting another registered scheme (ms-msdt:, a vulnerable custom app handler) invokes that handler with attacker-controlled parameters, enabling code execution where such a handler is present. A public PoC reference exists in the GHSA advisory but it is not verified as working exploit code; exploitation still requires the user to click the link (UI:P). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 27, 2026
Zettlr before 4.11.0 forwards the href of a Ctrl/Cmd-clicked Markdown link to Electron's shell.openExternal without any scheme allowlist, so a crafted document can launch arbitrary registered protocol handlers on the victim's machine. On Windows an smb:// target triggers outbound SMB authentication that leaks the user's NTLMv2 hash, while schemes such as ms-msdt: or third-party app handlers are invoked with attacker-controlled parameters, with escalation beyond credential theft depending on which handlers are registered on the host. The victim must open the document and modifier-click the link (no silent trigger), a public proof-of-concept link is included in the advisory, and the vendor has released Zettlr 4.11.0 with a protocol allowlist and a confirmation prompt.
RemediationAI
Upgrade to Zettlr 4.11.0, which introduces the system.allowedURIProtocols setting (defaults to http: and https:) and prompts before following any other scheme; the fix commit is 77d8015ea437a355027a403532ebdad4bf1e4238 and the release is at https://github.com/Zettlr/Zettlr/releases/tag/v4.11.0, with details in GHSA-4c93-g77j-cx8w. Earlier builds have no configuration-only allowlist, so on versions before 4.11.0 the practical control is to avoid opening documents from untrusted sources and to avoid Ctrl/Cmd-clicking links whose scheme is not http(s). Note that the 'Always open links using ...' checkbox in 4.11.0 permanently whitelists a protocol and should not be ticked for schemes such as smb: or ms-msdt:. As a network-level compensation for the Windows NTLM path specifically, blocking outbound TCP 445 to untrusted networks prevents the smb:// credential leak at the cost of breaking access to remote SMB shares, but it does nothing about other registered handlers.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Electron's shell.openExternal hands a URL to the operating system's registered protocol handlers, so without an allowlist any scheme that reaches it becomes a way to invoke other applications with attacker-chosen arguments. In Zettlr, click-listeners.ts passes a Ctrl/Cmd-clicked URL to openMarkdownLink, make-valid-uri.ts returns any scheme://... input unchanged (only file:// is rewritten, to the internal safe-file:// scheme that opens as a text document inside Zettlr rather than via shell.openPath), the renderer navigates to that URI, and the main process's will-navigate handler calls maybeOpenExternal, which invoked shell.openExternal unconditionally. The root cause is CWE-20 improper input validation, and the advisory additionally classifies it as CWE-939 (improper authorization in a handler for a custom URL scheme). Blast radius is bounded by the render context: the main window is sandbox: true and documents are edited in CodeMirror rather than rendered as live HTML, so this is a missing allowlist on the external-link path rather than XSS-to-RCE. Version 4.11.0 adds a system.allowedURIProtocols configuration defaulting to ['http:', 'https:'] and, for any other protocol, a modal naming the protocol with Cancel / Open link buttons plus an 'always open' checkbox that permanently whitelists the scheme. Separately, the same advisory notes that the fix for GHSA-qp9r-5xcv-35gx (command injection in custom export commands) remains incomplete because run-shell-command.ts still uses shell: true with hand-rolled single-quote wrapping around paths; that is a distinct issue from this CVE.
Know when Zettlr gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
A locally delivered document must be opened and a link clicked, so AV:L and UI:R; NTLM hash disclosure gives C:H, handler parameter abuse gives I:L, no direct availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
No filtering of cross-site scripting (XSS) payloads in the markdown-editor in Zettlr 1.8.7 allows attackers to perform r
Zettlr version 2.3.0 allows an external attacker to remotely obtain arbitrary local files on any client that attempts to
Cross-site scripting vulnerability in Zettlr from 0.20.0 to 1.8.8 allows an attacker to execute an arbitrary script by l
EUVD-2026-137352
GHSA-5mgc-8qm6-cccw
NVD
CVE.org
EPSS
VulDB
Exploit-DB