~ / search / GHSA-xfg5-vrmc-24wc

GHSA-xfg5-vrmc-24wc

Obsidian Dataview vulnerable to code injection due to unsafe eval

Source: GitHub Advisory Database (reviewed) High CVE-2021-42057

Packages

EcosystemPackageAffectedFixed in
npm obsidian-dataview < 0.4.13 0.4.13

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.