CVEvulnerability
CVE-2021-42057
7.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2021-11-04
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 9.3 HIGH — AV:N/AC:M/Au:N/C:C/I:C/A:C
- Weaknesses
- CWE-94
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.
Affected configurations
• obsidian obsidian dataview (<= 0.4.11)
• obsidian obsidian dataview 0.4.12
Related
Weakness · CWE (1)
- CWE-94 Improper Control of Generation of Code weakness
References
- https://github.com/blacksmithgu/obsidian-dataview/issues/615 Exploit, Issue Tracking, Third Party Advisory
- https://github.com/blacksmithgu/obsidian-dataview/issues/615 Exploit, Issue Tracking, Third Party Advisory