Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/581743?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/581743?format=api", "purl": "pkg:npm/phantomjs@1.9.6-0", "type": "npm", "namespace": "", "name": "phantomjs", "version": "1.9.6-0", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": "2.1.2", "latest_non_vulnerable_version": "2.1.2", "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/51983?format=api", "vulnerability_id": "VCID-fcae-d6kx-kkd5", "summary": "Files or Directories Accessible to External Parties\nPhantomJS has an arbitrary file read vulnerability, as demonstrated by an `XMLHttpRequest` for a `file://` URI. The vulnerability exists in the `page.open()` function of the webpage module, which loads a specified URL and calls a given callback. An attacker can supply a specially crafted HTML file, as user input, that allows reading arbitrary files on the filesystem. For example, if `page.render()` is the function callback, this generates a PDF or an image of the targeted file.", "references": [ { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2019-17221", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.13599", "scoring_system": "epss", "scoring_elements": "0.94387", "published_at": "2026-06-09T12:55:00Z" }, { "value": "0.13599", "scoring_system": "epss", "scoring_elements": "0.9437", "published_at": "2026-06-04T12:55:00Z" }, { "value": "0.13599", "scoring_system": "epss", "scoring_elements": "0.94378", "published_at": "2026-06-05T12:55:00Z" }, { "value": "0.13599", "scoring_system": "epss", "scoring_elements": "0.9438", "published_at": "2026-06-06T12:55:00Z" }, { "value": "0.13599", "scoring_system": "epss", "scoring_elements": "0.94382", "published_at": "2026-06-08T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2019-17221" }, { "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml", "reference_id": "", "reference_type": "", "scores": [ { "value": "3.3", "scoring_system": "cvssv3", "scoring_elements": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N" } ], "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml" }, { "reference_url": "https://github.com/Medium/phantomjs", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/Medium/phantomjs" }, { "reference_url": "https://web.archive.org/web/20191220171022/https://www.darkmatter.ae/blogs/breaching-the-perimeter-phantomjs-arbitrary-file-read", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://web.archive.org/web/20191220171022/https://www.darkmatter.ae/blogs/breaching-the-perimeter-phantomjs-arbitrary-file-read" }, { "reference_url": "https://web.archive.org/web/20191220171022/https://www.darkmatter.ae/blogs/breaching-the-perimeter-phantomjs-arbitrary-file-read/", "reference_id": "", "reference_type": "", "scores": [], "url": "https://web.archive.org/web/20191220171022/https://www.darkmatter.ae/blogs/breaching-the-perimeter-phantomjs-arbitrary-file-read/" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2019-17221", "reference_id": "CVE-2019-17221", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-17221" }, { "reference_url": "https://github.com/advisories/GHSA-x43g-gj9x-838x", "reference_id": "GHSA-x43g-gj9x-838x", "reference_type": "", "scores": [ { "value": "HIGH", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" } ], "url": "https://github.com/advisories/GHSA-x43g-gj9x-838x" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/581770?format=api", "purl": "pkg:npm/phantomjs@2.1.2", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/phantomjs@2.1.2" } ], "aliases": [ "CVE-2019-17221", "GHSA-x43g-gj9x-838x" ], "risk_score": 4.0, "exploitability": "0.5", "weighted_severity": "8.0", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-fcae-d6kx-kkd5" } ], "fixing_vulnerabilities": [], "risk_score": "4.0", "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/phantomjs@1.9.6-0" }