CVE-2026-104078: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in Obsidian Obsidian Desktop
Description
Obsidian Desktop before 1.14.0 contains a filter bypass vulnerability in the bundled MathJax 3.2.2 Safe component that allows attackers to execute arbitrary code by embedding a crafted \href value with a TAB byte in the URL scheme, causing filterURL to produce an empty protocol that bypasses the configured safeProtocols restrictions. Attackers can craft a note containing a malicious MathJax formula that renders as a javascript: URL anchor, which when clicked by the victim in Live Preview executes in the Node-integration-enabled vault renderer via require('child_process'), achieving arbitrary operating system command execution as the desktop user.
CVSS v4.0
Score 8.4high
Affected software
Obsidian
Obsidian Desktop
pkg:github/obsidianmd/obsidianRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-104078 is a cross-site scripting vulnerability in Obsidian Desktop prior to version 1.14.0. The vulnerability arises from a filter bypass in the MathJax 3.2.2 Safe component's URL filtering mechanism. Specifically, a crafted \href attribute containing a TAB byte causes the filterURL function to produce an empty protocol, bypassing configured safeProtocols restrictions. This enables an attacker to craft a note with a malicious MathJax formula that renders as a javascript: URL anchor. When a user clicks this anchor in Live Preview mode, the embedded JavaScript executes in the Node-integration-enabled vault renderer context, allowing arbitrary operating system command execution as the desktop user via require('child_process').
Potential Impact
Successful exploitation allows an attacker to execute arbitrary operating system commands on the victim's machine with the privileges of the desktop user running Obsidian. This can lead to full compromise of the user's environment. The vulnerability requires user interaction (clicking the malicious link) and local access to the note content. The CVSS 4.0 score is 8.4 (high severity), reflecting local attack vector, low attack complexity, no privileges required, user interaction needed, and high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
A fix is available in Obsidian Desktop version 1.14.0 and later. Users should upgrade to version 1.14.0 or newer to remediate this vulnerability. No other mitigation guidance is provided or required as the vulnerability is addressed by the official patch.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-10-01T18:02:50.083Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6ac7cab82cdf04f6562ac211
Added to database: 10/08/2026, 16:54:16 UTC
Last enriched: 10/08/2026, 17:03:23 UTC
Last updated: 10/08/2026, 21:46:02 UTC
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.