Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/518204?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/518204?format=api", "purl": "pkg:composer/hillelcoren/invoice-ninja@2.6", "type": "composer", "namespace": "hillelcoren", "name": "invoice-ninja", "version": "2.6", "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/49948?format=api", "vulnerability_id": "VCID-yb52-s11s-73e6", "summary": "invoiceninja is vulnerable to Cross-site Scripting\ninvoiceninja 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.48294", "published_at": "2026-05-29T12: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": "", "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/86104?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": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-yb52-s11s-73e6" } ], "fixing_vulnerabilities": [], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/hillelcoren/invoice-ninja@2.6" }