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

EcosystemPackageFixed inAdvisory
npmobsidian-dataview0.4.13GHSA-xfg5-vrmc-24wc

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References