Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/264473?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/264473?format=api", "purl": "pkg:npm/jingo@1.8.2", "type": "npm", "namespace": "", "name": "jingo", "version": "1.8.2", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": "1.9.2", "latest_non_vulnerable_version": "1.9.2", "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/53003?format=api", "vulnerability_id": "VCID-7rrj-2hkq-y7hg", "summary": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in jingo.", "references": [ { "reference_url": "https://www.npmjs.com/advisories/750", "reference_id": "", "reference_type": "", "scores": [ { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://www.npmjs.com/advisories/750" }, { "reference_url": "https://github.com/advisories/GHSA-mpjf-8cmf-p789", "reference_id": "GHSA-mpjf-8cmf-p789", "reference_type": "", "scores": [ { "value": "HIGH", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" } ], "url": "https://github.com/advisories/GHSA-mpjf-8cmf-p789" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/77981?format=api", "purl": "pkg:npm/jingo@1.9.2", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/jingo@1.9.2" } ], "aliases": [ "GHSA-mpjf-8cmf-p789", "GMS-2020-305" ], "risk_score": 4.0, "exploitability": "0.5", "weighted_severity": "8.0", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-7rrj-2hkq-y7hg" } ], "fixing_vulnerabilities": [], "risk_score": "4.0", "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/jingo@1.8.2" }