Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/76943?format=api",
    "purl": "pkg:composer/ezsystems/ezpublish-legacy@2017.0.0",
    "type": "composer",
    "namespace": "ezsystems",
    "name": "ezpublish-legacy",
    "version": "2017.0.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "2017.12.7.4",
    "latest_non_vulnerable_version": "2019.03.6",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/52412?format=api",
            "vulnerability_id": "VCID-ukn1-91je-x7hw",
            "summary": "Unrestricted Upload of File with Dangerous Type\neZ Publish Legacy allow remote attackers to execute arbitrary code by uploading PHP code, unless the vhost configuration permits only `app.php` execution.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-10806",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.02833",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86473",
                            "published_at": "2026-06-07T12:55:00Z"
                        },
                        {
                            "value": "0.02833",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86454",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.02833",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86477",
                            "published_at": "2026-06-05T12:55:00Z"
                        },
                        {
                            "value": "0.02833",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86478",
                            "published_at": "2026-06-06T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-10806"
                },
                {
                    "reference_url": "https://ezplatform.com/security-advisories/ezsa-2020-001-remote-code-execution-in-file-uploads",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://ezplatform.com/security-advisories/ezsa-2020-001-remote-code-execution-in-file-uploads"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-10806",
                    "reference_id": "CVE-2020-10806",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-10806"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/76946?format=api",
                    "purl": "pkg:composer/ezsystems/ezpublish-legacy@2017.12.7%2B2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/ezsystems/ezpublish-legacy@2017.12.7%252B2"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/250600?format=api",
                    "purl": "pkg:composer/ezsystems/ezpublish-legacy@2017.12.7.2",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-29ju-364n-qkch"
                        },
                        {
                            "vulnerability": "VCID-qymv-b76a-2yh2"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/ezsystems/ezpublish-legacy@2017.12.7.2"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/76947?format=api",
                    "purl": "pkg:composer/ezsystems/ezpublish-legacy@2019.3.4%2B2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/ezsystems/ezpublish-legacy@2019.3.4%252B2"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/250608?format=api",
                    "purl": "pkg:composer/ezsystems/ezpublish-legacy@2019.03.4.2",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-29ju-364n-qkch"
                        },
                        {
                            "vulnerability": "VCID-qymv-b76a-2yh2"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/ezsystems/ezpublish-legacy@2019.03.4.2"
                }
            ],
            "aliases": [
                "CVE-2020-10806",
                "GHSA-54p5-gxq6-j98g"
            ],
            "risk_score": 4.5,
            "exploitability": "0.5",
            "weighted_severity": "9.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ukn1-91je-x7hw"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "4.5",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/ezsystems/ezpublish-legacy@2017.0.0"
}