Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/512945?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/512945?format=api", "purl": "pkg:npm/hbs@4.0.0", "type": "npm", "namespace": "", "name": "hbs", "version": "4.0.0", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": null, "latest_non_vulnerable_version": null, "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/340072?format=api", "vulnerability_id": "VCID-wjjc-8fkv-z7e3", "summary": "", "references": [ { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-32822", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.00299", "scoring_system": "epss", "scoring_elements": "0.5366", "published_at": "2026-06-11T12:55:00Z" }, { "value": "0.00299", "scoring_system": "epss", "scoring_elements": "0.53786", "published_at": "2026-06-12T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-32822" }, { "reference_url": "https://github.com/pillarjs/hbs", "reference_id": "", "reference_type": "", "scores": [ { "value": "4.0", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/pillarjs/hbs" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-32822", "reference_id": "", "reference_type": "", "scores": [ { "value": "4.0", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-32822" }, { "reference_url": "https://securitylab.github.com/advisories/GHSL-2021-020-pillarjs-hbs", "reference_id": "", "reference_type": "", "scores": [ { "value": "4.0", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://securitylab.github.com/advisories/GHSL-2021-020-pillarjs-hbs" }, { "reference_url": "https://securitylab.github.com/advisories/GHSL-2021-020-pillarjs-hbs/", "reference_id": "", "reference_type": "", "scores": [], "url": "https://securitylab.github.com/advisories/GHSL-2021-020-pillarjs-hbs/" }, { "reference_url": "https://github.com/advisories/GHSA-7f5c-rpf4-86p8", "reference_id": "GHSA-7f5c-rpf4-86p8", "reference_type": "", "scores": [ { "value": "MODERATE", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" } ], "url": "https://github.com/advisories/GHSA-7f5c-rpf4-86p8" } ], "fixed_packages": [], "aliases": [ "CVE-2021-32822", "GHSA-7f5c-rpf4-86p8" ], "risk_score": 3.1, "exploitability": "0.5", "weighted_severity": "6.2", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-wjjc-8fkv-z7e3" } ], "fixing_vulnerabilities": [], "risk_score": "3.1", "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/hbs@4.0.0" }