Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/51605?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/51605?format=api", "purl": "pkg:gem/yard@0.8.0", "type": "gem", "namespace": "", "name": "yard", "version": "0.8.0", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": "0.8.7.1", "latest_non_vulnerable_version": "0.9.36", "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37574?format=api", "vulnerability_id": "VCID-s8y8-beee-gfgx", "summary": "This package is vulnerable to Cross-site Scripting (XSS). Strings parsed from the anchor in the address bar were not sanitized, allowing for arbitrary HTML to be embedded into the page.", "references": [ { "reference_url": "https://github.com/lsegal/yard/commit/715d6cb462392e610ab751fcfee7b622850fa802", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/lsegal/yard/commit/715d6cb462392e610ab751fcfee7b622850fa802" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/51606?format=api", "purl": "pkg:gem/yard@0.8.7.1", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/yard@0.8.7.1" } ], "aliases": [ "GMS-2013-20" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-s8y8-beee-gfgx" } ], "fixing_vulnerabilities": [], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/yard@0.8.0" }