Vulnerability · Published Nov 4, 2021 · Assigned by mitre
CVE-2021-42057
High 7.8
In plain English
A high-severity security flaw in the obsidian-dataview package (npm). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 69% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)7.8High
Exploit odds (30 days)1.2%top 30.6% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | obsidian-dataview | 0.4.13 | GHSA-xfg5-vrmc-24wc |
Affected products (as reported)
References
- https://github.com/blacksmithgu/obsidian-dataview/issues/615 x_refsource_MISC