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.
{
"extracted_events": [
{
"introduced": "0"
},
{
"last_affected": "0.4.11"
},
{
"introduced": "0.4.12-NA"
},
{
"last_affected": "0.4.12-NA"
},
{
"introduced": "0.4.12-hotfix1"
},
{
"last_affected": "0.4.12-hotfix1"
}
],
"source": [
"CPE_RANGE",
"CPE_STRING"
],
"cpe": [
"cpe:2.3:a:obsidian:obsidian_dataview:*:*:*:*:*:*:*:*",
"cpe:2.3:a:obsidian:obsidian_dataview:0.4.12:-:*:*:*:*:*:*",
"cpe:2.3:a:obsidian:obsidian_dataview:0.4.12:hotfix1:*:*:*:*:*:*"
]
}