GHSA-xfg5-vrmc-24wc

Suggest an improvement
Source
https://github.com/advisories/GHSA-xfg5-vrmc-24wc
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-xfg5-vrmc-24wc/GHSA-xfg5-vrmc-24wc.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-xfg5-vrmc-24wc
Aliases
Published
2022-05-24T19:19:42Z
Modified
2023-11-08T04:07:04Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Obsidian Dataview vulnerable to code injection due to unsafe eval
Details

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.

Database specific
{
    "cwe_ids":  [
        "CWE-94"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2023-10-19T18:29:49Z",
    "nvd_published_at":  "2021-11-04T21:15:00Z",
    "severity":  "HIGH"
}
References

Affected packages

npm / obsidian-dataview

Package

Name
obsidian-dataview
View open source insights on deps.dev
Purl
pkg:npm/obsidian-dataview

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.4.13

Database specific

last_known_affected_version_range
"<= 0.4.12-hotfix1"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-xfg5-vrmc-24wc/GHSA-xfg5-vrmc-24wc.json"