Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/56019?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/56019?format=api", "purl": "pkg:gem/rack@1.6.11", "type": "gem", "namespace": "", "name": "rack", "version": "1.6.11", "qualifiers": {}, "subpath": "", "is_vulnerable": false, "next_non_vulnerable_version": "2.0.6", "latest_non_vulnerable_version": "3.2.5", "affected_by_vulnerabilities": [], "fixing_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/13084?format=api", "vulnerability_id": "VCID-v4fe-p2td-37hq", "summary": "Cross-site Scripting\nThere is a possible XSS vulnerability in Rack. Carefully crafted requests can impact the data returned by the `scheme` method on `Rack::Request`. Applications that expect the scheme to be limited to HTTP or HTTPS and do not escape the return value could be vulnerable to an XSS attack. Note that applications using the normal escaping mechanisms provided by Rails may not be impacted, but applications that bypass the escaping mechanisms, or do not use them may be vulnerable.", "references": [ { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-16471", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.00829", "scoring_system": "epss", "scoring_elements": "0.74844", "published_at": "2026-05-30T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-16471" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-16471", "reference_id": "CVE-2018-16471", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-16471" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/56019?format=api", "purl": "pkg:gem/rack@1.6.11", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/rack@1.6.11" }, { "url": "http://public2.vulnerablecode.io/api/packages/56007?format=api", "purl": "pkg:gem/rack@2.0.6", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/rack@2.0.6" } ], "aliases": [ "CVE-2018-16471" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-v4fe-p2td-37hq" } ], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/rack@1.6.11" }