Miggo Logo

CVE-2021-38148: Obsidian does not require user confirmation for non-http/https URLs.

9.8

CVSS Score
3.1

Basic Information

EPSS Score
0.65141%
Published
5/24/2022
Updated
4/22/2024
KEV Status
No
Technology
TechnologyJavaScript

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Package NameEcosystemVulnerable VersionsFirst Patched Version
obsidiannpm< 0.12.120.12.12

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability explicitly relates to missing user confirmation for non-standard URL protocols. In Electron applications like Obsidian, link handling is typically managed through main process event handlers (e.g., 'will-navigate' or 'new-window'). The absence of protocol checks and confirmation dialogs in these handlers before version 0.12.12 would directly enable this vulnerability. While exact implementation details aren't available, the nature of Electron security patterns and the documented fix (added confirmation dialog) strongly indicate that the core link handling function was missing these safeguards.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

O*si*i*n ***or* *.**.** *o*s not r*quir* us*r *on*irm*tion *or non-*ttp/*ttps URLs.

Reasoning

T** vuln*r**ility *xpli*itly r*l*t*s to missin* us*r *on*irm*tion *or non-st*n**r* URL proto*ols. In *l**tron *ppli**tions lik* O*si*i*n, link **n*lin* is typi**lly m*n**** t*rou** `m*in` pro**ss *v*nt **n*l*rs (*.*., 'will-n*vi**t*' or 'n*w-win*ow')