Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/250628?format=api",
    "purl": "pkg:composer/ezsystems/ezpublish-kernel@7.3.3",
    "type": "composer",
    "namespace": "ezsystems",
    "name": "ezpublish-kernel",
    "version": "7.3.3",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "7.5.15.2",
    "latest_non_vulnerable_version": "7.5.31",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/54210?format=api",
            "vulnerability_id": "VCID-n9ba-bdr7-vkfg",
            "summary": "Cross-site scripting in eZ Platform 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.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-46875",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00542",
                            "scoring_system": "epss",
                            "scoring_elements": "0.6805",
                            "published_at": "2026-06-04T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-46875"
                },
                {
                    "reference_url": "https://github.com/ezsystems/ezpublish-kernel",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/ezsystems/ezpublish-kernel"
                },
                {
                    "reference_url": "https://github.com/ezsystems/ezpublish-kernel/commit/29fecd2afe86f763510f10c02f14962d028f311b",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/ezsystems/ezpublish-kernel/commit/29fecd2afe86f763510f10c02f14962d028f311b"
                },
                {
                    "reference_url": "https://packagist.org/packages/ezsystems/ezplatform-kernel#v1.2.5.1",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://packagist.org/packages/ezsystems/ezplatform-kernel#v1.2.5.1"
                },
                {
                    "reference_url": "https://packagist.org/packages/ezsystems/ezpublish-kernel#v7.5.15.2",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://packagist.org/packages/ezsystems/ezpublish-kernel#v7.5.15.2"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-46875",
                    "reference_id": "CVE-2021-46875",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-46875"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-mrvj-7q4f-5p42",
                    "reference_id": "GHSA-mrvj-7q4f-5p42",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-mrvj-7q4f-5p42"
                },
                {
                    "reference_url": "https://github.com/ezsystems/ezpublish-kernel/security/advisories/GHSA-mrvj-7q4f-5p42",
                    "reference_id": "GHSA-mrvj-7q4f-5p42",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/ezsystems/ezpublish-kernel/security/advisories/GHSA-mrvj-7q4f-5p42"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/295424?format=api",
                    "purl": "pkg:composer/ezsystems/ezpublish-kernel@7.5.15.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/ezsystems/ezpublish-kernel@7.5.15.2"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/64299?format=api",
                    "purl": "pkg:composer/ezsystems/ezpublish-kernel@7.5.15%2B2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/ezsystems/ezpublish-kernel@7.5.15%252B2"
                }
            ],
            "aliases": [
                "CVE-2021-46875",
                "GHSA-mrvj-7q4f-5p42",
                "GMS-2021-111",
                "GMS-2021-47"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-n9ba-bdr7-vkfg"
        },
        {
            "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.86454",
                            "published_at": "2026-06-04T12: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/250649?format=api",
                    "purl": "pkg:composer/ezsystems/ezpublish-kernel@7.5.6.2",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-7k4g-s55n-zba3"
                        },
                        {
                            "vulnerability": "VCID-n9ba-bdr7-vkfg"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/ezsystems/ezpublish-kernel@7.5.6.2"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/76949?format=api",
                    "purl": "pkg:composer/ezsystems/ezpublish-kernel@7.5.6%2B2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/ezsystems/ezpublish-kernel@7.5.6%252B2"
                }
            ],
            "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": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/ezsystems/ezpublish-kernel@7.3.3"
}