Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-104077 Overview
CVE-2026-104077 is a remote code execution vulnerability in Obsidian Desktop before version 1.14.0. The flaw stems from insufficient sanitization of the data-background-iframe attribute in Markdown notes. The attribute bypasses DOMPurify and is processed by the bundled Reveal.js 4.3.1 library within the Slides core plugin. Attackers can inject a javascript: URL that executes inside the background iframe during a slide presentation. Because Obsidian's vault renderer enables Node integration and disables context isolation, injected scripts can call parent.require() to reach Node APIs such as fs and child_process, resulting in arbitrary operating system command execution [CWE-79].
Critical Impact
A victim opening a crafted note and starting the Slides presentation grants an attacker full code execution under the user's account.
Affected Products
- Obsidian Desktop versions before 1.14.0
- Bundled Reveal.js 4.3.1 within the Slides core plugin
- Vault renderer configurations with Node integration enabled and context isolation disabled
Discovery Timeline
- 2026-10-08 - CVE-2026-104077 published to NVD
- 2026-10-12 - Last updated in NVD database
Technical Details for CVE-2026-104077
Vulnerability Analysis
The vulnerability resides in Obsidian's Slides core plugin, which uses Reveal.js 4.3.1 to render Markdown as presentations. Reveal.js supports a data-background-iframe attribute that loads an arbitrary URL inside a background iframe on a slide. Obsidian relies on DOMPurify to sanitize Markdown-rendered HTML, but the sanitizer does not strip or restrict this attribute. A malicious note author can therefore embed a javascript: URL that executes when the user manually starts the presentation. Because the renderer runs with Electron Node integration enabled and context isolation disabled, the injected script accesses Node modules through parent.require() and spawns operating system commands via child_process.
Root Cause
Two chained misconfigurations produce the vulnerability. First, DOMPurify configuration in Obsidian does not include data-background-iframe in its denylist, allowing attacker-controlled attributes to survive sanitization. Second, Electron security defaults are inverted in the vault renderer, exposing Node.js runtime capabilities to arbitrary rendered content.
Attack Vector
Exploitation requires local user interaction. The attacker delivers a crafted Markdown note through a shared vault, downloaded template, synced repository, or community resource. The victim must open the note and start the Slides presentation. Once the slide loads, the javascript: URL executes within the Electron renderer and invokes Node APIs to run attacker-defined commands under the user's privileges. See the CodeAnt Research write-up and the VulnCheck advisory for technical details.
Stop Remote Code Execution Before It Runs
Singularity™ Endpoint detects and blocks exploit attempts at machine speed, including zero-days and novel attack techniques.
Stop Exploit AttemptsDetection Methods for CVE-2026-104077
Indicators of Compromise
- Markdown notes containing a data-background-iframe attribute with a javascript: scheme URL
- Unexpected child processes spawned by the Obsidian renderer, such as shells, powershell.exe, cmd.exe, or /bin/sh
- Outbound network connections from Obsidian to attacker-controlled hosts following note access
- New or modified files in user directories immediately after a Slides presentation session
Detection Strategies
- Scan vault directories for Markdown files containing data-background-iframe and javascript: substrings
- Monitor endpoint telemetry for Obsidian.exe or Obsidian spawning command interpreters or scripting hosts
- Alert on Electron renderer processes invoking require('child_process') or require('fs') via static or runtime analysis
Monitoring Recommendations
- Enable process creation logging and correlate parent-child relationships involving the Obsidian binary
- Review shared and synchronized vaults for notes introduced from untrusted sources
- Track installation and usage of community plugins and templates against an approved allowlist
How to Mitigate CVE-2026-104077
Immediate Actions Required
- Upgrade Obsidian Desktop to version 1.14.4 or later, per the Obsidian v1.14.4 changelog
- Disable the Slides core plugin in Obsidian settings until the upgrade is complete
- Audit existing vaults for Markdown files containing the data-background-iframe attribute and quarantine suspicious notes
Patch Information
Obsidian addressed the issue in Desktop release 1.14.4. The fix removes the ability for Markdown-sourced attributes to pass unsanitized into Reveal.js background iframe handling. Review the Obsidian Desktop v1.14.4 changelog for release notes.
Workarounds
- Disable the Slides core plugin from Settings > Core plugins to prevent presentation rendering
- Avoid opening Markdown notes from untrusted vaults, repositories, or shared sources
- Restrict synchronization of vaults to trusted collaborators and review inbound notes before opening
# Example: locate potentially malicious notes in a vault
grep -R --include='*.md' -nE 'data-background-iframe\s*=\s*"javascript:' /path/to/vault
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

