High severity7.8NVD Advisory· Published Nov 4, 2021· Updated Jun 17, 2026
CVE-2021-42057
CVE-2021-42057
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
obsidian-dataviewnpm | < 0.4.13 | 0.4.13 |
Affected products
2- Obsidian/Dataviewdescription
Patches
Vulnerability mechanics
References
3- github.com/blacksmithgu/obsidian-dataview/issues/615nvdExploitIssue TrackingThird Party AdvisoryWEB
- github.com/advisories/GHSA-xfg5-vrmc-24wcghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-42057ghsaADVISORY
News mentions
0No linked articles in our index yet.