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.
Advisories
Source ID Title
EUVD EUVD EUVD-2022-5772 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.
Github GHSA Github GHSA GHSA-xfg5-vrmc-24wc Obsidian Dataview vulnerable to code injection due to unsafe eval
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-04T03:22:25.839Z

Reserved: 2021-10-07T00:00:00

Link: CVE-2021-42057

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2021-11-04T21:15:09.080

Modified: 2024-11-21T06:27:09.677

Link: CVE-2021-42057

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses