CVE-2021-42057
Obsidian Dataview vulnerable to code injection due to unsafe eval
7.8
HIGH
CVSS 3.1
EPSS 0.29%
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.
How to fix CVE-2021-42057
To remediate CVE-2021-42057, upgrade the affected package to a fixed version below.
- —upgrade to 0.4.13 or later
Is CVE-2021-42057 being exploited?
Low — EPSS is 0.3%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- from 0, < 0.4.13
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |