Skip to main content

CVE-2026-104078: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in Obsidian Obsidian Desktop

0
High
Published: 10/08/2026 (10/08/2026, 18:32:28 UTC)
Source: CVE Database V5
Vendor/Project: Obsidian
Product: 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

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Affected software

Obsidian

Obsidian Desktop

Affected versions
>=0 <1.14.0
GitHub Actionsmore threats →ai
obsidianmd/obsidian
pkg:github/obsidianmd/obsidian
Affected versions
>=0 <1.14.0

Run 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

AILast updated: 10/08/2026, 17:03:23 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses