All reports
High

Obsidian Dataview vulnerable to code injection due to unsafe eval

Affected versions

Affected versions
<= 0.4.12-hotfix1
Fixed version
0.4.13

Exploitation

CVE-2021-42057

Probability of exploitation in the next 30 days: 1.25%

FIRST EPSS · 2026-11-20

Description

Obsidian Dataview through 0.4.12-hotfix1 allows eval injection. The evalInContext function in executes user input, which allows an attacker to craft malicious Markdown files that will execute arbitrary code once opened. NOTE: 0.4.13 provides a mitigation for some use cases.

Links