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