Obsidian Dataview vulnerable to code injection due to unsafe eval
High severity
GitHub Reviewed
Published
May 24, 2022
to the GitHub Advisory Database
•
Updated Oct 19, 2023
Description
Published by the National Vulnerability Database
Nov 4, 2021
Published to the GitHub Advisory Database
May 24, 2022
Last updated
Oct 19, 2023
Reviewed
Oct 19, 2023
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