Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/539254?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/539254?format=api", "purl": "pkg:npm/obsidian-dataview@0.4.7", "type": "npm", "namespace": "", "name": "obsidian-dataview", "version": "0.4.7", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": "0.4.13", "latest_non_vulnerable_version": "0.4.13", "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/41671?format=api", "vulnerability_id": "VCID-vpkn-upqk-3kc8", "summary": "Improper Control of Generation of Code ('Code Injection')\nObsidian Dataview 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: provides a mitigation for some use cases.", "references": [ { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-42057", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.00295", "scoring_system": "epss", "scoring_elements": "0.53106", "published_at": "2026-06-08T12:55:00Z" }, { "value": "0.00295", "scoring_system": "epss", "scoring_elements": "0.53082", "published_at": "2026-06-04T12:55:00Z" }, { "value": "0.00295", "scoring_system": "epss", "scoring_elements": "0.53143", "published_at": "2026-06-05T12:55:00Z" }, { "value": "0.00295", "scoring_system": "epss", "scoring_elements": "0.53151", "published_at": "2026-06-06T12:55:00Z" }, { "value": "0.00295", "scoring_system": "epss", "scoring_elements": "0.53132", "published_at": "2026-06-07T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-42057" }, { "reference_url": "https://github.com/blacksmithgu/obsidian-dataview", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/blacksmithgu/obsidian-dataview" }, { "reference_url": "https://github.com/blacksmithgu/obsidian-dataview/issues/615", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/blacksmithgu/obsidian-dataview/issues/615" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-42057", "reference_id": "CVE-2021-42057", "reference_type": "", "scores": [ { "value": "7.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-42057" }, { "reference_url": "https://github.com/advisories/GHSA-xfg5-vrmc-24wc", "reference_id": "GHSA-xfg5-vrmc-24wc", "reference_type": "", "scores": [ { "value": "HIGH", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" } ], "url": "https://github.com/advisories/GHSA-xfg5-vrmc-24wc" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/59479?format=api", "purl": "pkg:npm/obsidian-dataview@0.4.12-hotfix1", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-vpkn-upqk-3kc8" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/obsidian-dataview@0.4.12-hotfix1" }, { "url": "http://public2.vulnerablecode.io/api/packages/152761?format=api", "purl": "pkg:npm/obsidian-dataview@0.4.13", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/obsidian-dataview@0.4.13" } ], "aliases": [ "CVE-2021-42057", "GHSA-xfg5-vrmc-24wc" ], "risk_score": 4.0, "exploitability": "0.5", "weighted_severity": "8.0", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-vpkn-upqk-3kc8" } ], "fixing_vulnerabilities": [], "risk_score": "4.0", "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/obsidian-dataview@0.4.7" }