CVE-2021-38148: Obsidian does not require user confirmation for non-http/https URLs.
9.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.65141%
CWE
Published
5/24/2022
Updated
4/22/2024
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| obsidian | npm | < 0.12.12 | 0.12.12 |
Vulnerability Intelligence
Miggo AI
Root 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.