Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/549928?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/549928?format=api", "purl": "pkg:composer/hillelcoren/invoice-ninja@4.4.1", "type": "composer", "namespace": "hillelcoren", "name": "invoice-ninja", "version": "4.4.1", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": "5.3.35", "latest_non_vulnerable_version": "5.3.35", "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/41983?format=api", "vulnerability_id": "VCID-cga3-jzpg-s7c2", "summary": "invoiceninja is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')", "references": [ { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-3977", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.00249", "scoring_system": "epss", "scoring_elements": "0.48323", "published_at": "2026-06-04T12:55:00Z" }, { "value": "0.00249", "scoring_system": "epss", "scoring_elements": "0.48342", "published_at": "2026-06-08T12:55:00Z" }, { "value": "0.00249", "scoring_system": "epss", "scoring_elements": "0.48371", "published_at": "2026-06-07T12:55:00Z" }, { "value": "0.00249", "scoring_system": "epss", "scoring_elements": "0.48389", "published_at": "2026-06-06T12:55:00Z" }, { "value": "0.00249", "scoring_system": "epss", "scoring_elements": "0.48386", "published_at": "2026-06-05T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-3977" }, { "reference_url": "https://github.com/invoiceninja/invoiceninja", "reference_id": "", "reference_type": "", "scores": [ { "value": "5.4", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/invoiceninja/invoiceninja" }, { "reference_url": "https://github.com/invoiceninja/invoiceninja/commit/1186eaa82375692d01d5ef3369c5b7bc7315b55f", "reference_id": "", "reference_type": "", "scores": [ { "value": "5.4", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/invoiceninja/invoiceninja/commit/1186eaa82375692d01d5ef3369c5b7bc7315b55f" }, { "reference_url": "https://github.com/invoiceninja/invoiceninja/releases/tag/v5.3.35", "reference_id": "", "reference_type": "", "scores": [ { "value": "5.4", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/invoiceninja/invoiceninja/releases/tag/v5.3.35" }, { "reference_url": "https://huntr.dev/bounties/99c4ed09-b66f-474a-bd74-eeccf9339fde", "reference_id": "", "reference_type": "", "scores": [ { "value": "5.4", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://huntr.dev/bounties/99c4ed09-b66f-474a-bd74-eeccf9339fde" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-3977", "reference_id": "CVE-2021-3977", "reference_type": "", "scores": [ { "value": "5.4", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-3977" }, { "reference_url": "https://github.com/advisories/GHSA-xg6r-5gx4-qxjm", "reference_id": "GHSA-xg6r-5gx4-qxjm", "reference_type": "", "scores": [ { "value": "MODERATE", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" } ], "url": "https://github.com/advisories/GHSA-xg6r-5gx4-qxjm" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/60023?format=api", "purl": "pkg:composer/hillelcoren/invoice-ninja@5.3.35", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/hillelcoren/invoice-ninja@5.3.35" } ], "aliases": [ "CVE-2021-3977", "GHSA-xg6r-5gx4-qxjm" ], "risk_score": 3.1, "exploitability": "0.5", "weighted_severity": "6.2", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-cga3-jzpg-s7c2" } ], "fixing_vulnerabilities": [], "risk_score": "3.1", "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/hillelcoren/invoice-ninja@4.4.1" }