CVE-2021-42057

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.
References
Link Resource
https://github.com/blacksmithgu/obsidian-dataview/issues/615 Exploit Issue Tracking Third Party Advisory
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:obsidian:obsidian_dataview:*:*:*:*:*:*:*:*
cpe:2.3:a:obsidian:obsidian_dataview:0.4.12:-:*:*:*:*:*:*
cpe:2.3:a:obsidian:obsidian_dataview:0.4.12:hotfix1:*:*:*:*:*:*

History

No history.

Information

Published : 2021-11-04 21:15

Updated : 2024-02-28 18:48


NVD link : CVE-2021-42057

Mitre link : CVE-2021-42057

CVE.ORG link : CVE-2021-42057


JSON object : View

Products Affected

obsidian

  • obsidian_dataview
CWE
CWE-94

Improper Control of Generation of Code ('Code Injection')