Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/408929?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/408929?format=api", "purl": "pkg:npm/rendr@0.4.5", "type": "npm", "namespace": "", "name": "rendr", "version": "0.4.5", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": "1.1.4", "latest_non_vulnerable_version": "1.1.4", "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/361785?format=api", "vulnerability_id": "VCID-zqv8-22m7-bqbc", "summary": "XSS in client rendered block templates\nThere's a cross site scripting (XSS) issue when rendered inside a `_block` during client side rendering. Server side rendering is not affected and is properly escaped.", "references": [ { "reference_url": "https://github.com/rendrjs/rendr-handlebars/pull/61", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/rendrjs/rendr-handlebars/pull/61" }, { "reference_url": "https://github.com/rendrjs/rendr/pull/513", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/rendrjs/rendr/pull/513" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/16953?format=api", "purl": "pkg:npm/rendr@1.1.4", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/rendr@1.1.4" } ], "aliases": [ "GMS-2016-53" ], "risk_score": null, "exploitability": "0.5", "weighted_severity": "0.0", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-zqv8-22m7-bqbc" } ], "fixing_vulnerabilities": [], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/rendr@0.4.5" }