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.test.osv.dev/v1/vulns/GHSA-xfg5-vrmc-24wc
Aliases
Published
2022-05-24T19:19:42Z
Modified
2023-11-01T04:56:36.871597Z
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,
    "nvd_published_at": "2021-11-04T21:15:00Z",
    "severity": "HIGH",
    "github_reviewed_at": "2023-10-19T18:29:49Z"
}
References

Affected packages

npm / obsidian-dataview

Package

Affected ranges

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

Database specific

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