RCE in Obsidian Dataview

CVE-2021-42057

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.

Vulnerability class: RCE (Remote Code Execution)

EPSS: 0.012 (65.1th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

  • cve@mitre.org (Exploit, Third Party Advisory, x_refsource_MISC, Issue Tracking)

Frequently asked questions

What is CVE-2021-42057?
CVE-2021-42057 is a high-severity vulnerability in Obsidian Dataview, classified under Code Injection. CVSS score: 7.8/10. Published 2021-11-04.
How severe is CVE-2021-42057?
High severity. CVSS v3 base score is 7.8 out of 10.