Lookup for vulnerable packages by Package URL.

GET /api/packages/64305?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "http://public2.vulnerablecode.io/api/packages/64305?format=api",
    "purl": "pkg:composer/ezsystems/ezplatform-kernel@1.3.1%2B1",
    "type": "composer",
    "namespace": "ezsystems",
    "name": "ezplatform-kernel",
    "version": "1.3.1+1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "1.3.12",
    "latest_non_vulnerable_version": "7.5.26",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/44659?format=api",
            "vulnerability_id": "VCID-m6hv-1sz4-mfff",
            "summary": "Duplicate Advisory: Cross Site Scripting in eZ Platform Ibexa Kernel\nIn file upload it is possible by certain means to upload files like .html and .js. These may contain XSS exploits which will be run when links to them are accessed by victims.\nPatches",
            "references": [
                {
                    "reference_url": "https://github.com/ezsystems/ezpublish-kernel",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/ezsystems/ezpublish-kernel"
                },
                {
                    "reference_url": "https://github.com/ezsystems/ezpublish-kernel/commit/29fecd2afe86f763510f10c02f14962d028f311b",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/ezsystems/ezpublish-kernel/commit/29fecd2afe86f763510f10c02f14962d028f311b"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-46875",
                    "reference_id": "CVE-2021-46875",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-46875"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-c737-jhwr-fqxj",
                    "reference_id": "GHSA-c737-jhwr-fqxj",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-c737-jhwr-fqxj"
                },
                {
                    "reference_url": "https://github.com/ezsystems/ezpublish-kernel/security/advisories/GHSA-mrvj-7q4f-5p42",
                    "reference_id": "GHSA-mrvj-7q4f-5p42",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/ezsystems/ezpublish-kernel/security/advisories/GHSA-mrvj-7q4f-5p42"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/64304?format=api",
                    "purl": "pkg:composer/ezsystems/ezplatform-kernel@1.2.5%2B1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/ezsystems/ezplatform-kernel@1.2.5%252B1"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/64305?format=api",
                    "purl": "pkg:composer/ezsystems/ezplatform-kernel@1.3.1%2B1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/ezsystems/ezplatform-kernel@1.3.1%252B1"
                }
            ],
            "aliases": [
                "GHSA-c737-jhwr-fqxj"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-m6hv-1sz4-mfff"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/ezsystems/ezplatform-kernel@1.3.1%252B1"
}