Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/55260?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/55260?format=api", "purl": "pkg:gem/nokogiri@1.8.3", "type": "gem", "namespace": "", "name": "nokogiri", "version": "1.8.3", "qualifiers": {}, "subpath": "", "is_vulnerable": false, "next_non_vulnerable_version": "1.8.5", "latest_non_vulnerable_version": "1.19.1", "affected_by_vulnerabilities": [], "fixing_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/39522?format=api", "vulnerability_id": "VCID-gwrv-agck-yuex", "summary": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')\nIn the Loofah gem for Ruby, denylisted HTML attributes may occur in sanitized output by republishing a crafted HTML fragment.", "references": [ { "reference_url": "https://github.com/flavorjones/loofah/issues/144", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/flavorjones/loofah/issues/144" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-8048", "reference_id": "CVE-2018-8048", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-8048" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/55260?format=api", "purl": "pkg:gem/nokogiri@1.8.3", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/nokogiri@1.8.3" } ], "aliases": [ "CVE-2018-8048" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-gwrv-agck-yuex" } ], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/nokogiri@1.8.3" }