Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/62318?format=api",
    "purl": "pkg:composer/contao/contao@4.4.0",
    "type": "composer",
    "namespace": "contao",
    "name": "contao",
    "version": "4.4.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "4.4.52",
    "latest_non_vulnerable_version": "5.6.1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40914?format=api",
            "vulnerability_id": "VCID-4rrm-u81m-7kdt",
            "summary": "Direct Request (Forced Browsing)\nContao has Incorrect Access Control.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-20028",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.0027",
                            "scoring_system": "epss",
                            "scoring_elements": "0.5066",
                            "published_at": "2026-06-04T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-20028"
                },
                {
                    "reference_url": "https://contao.org/en/news.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://contao.org/en/news.html"
                },
                {
                    "reference_url": "https://contao.org/en/news/security-vulnerability-cve-2018-20028.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://contao.org/en/news/security-vulnerability-cve-2018-20028.html"
                },
                {
                    "reference_url": "https://github.com/contao/contao/commit/bbe5fe1d385cd1195670e2d6b972272133443c59",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/contao/contao/commit/bbe5fe1d385cd1195670e2d6b972272133443c59"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-20028",
                    "reference_id": "CVE-2018-20028",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-20028"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-q99w-j4mj-7hj8",
                    "reference_id": "GHSA-q99w-j4mj-7hj8",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-q99w-j4mj-7hj8"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/62322?format=api",
                    "purl": "pkg:composer/contao/contao@4.4.31",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-98fv-kpqs-mybc"
                        },
                        {
                            "vulnerability": "VCID-ah8s-8q49-8qbw"
                        },
                        {
                            "vulnerability": "VCID-u6sk-25yd-e7b2"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/contao/contao@4.4.31"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/62321?format=api",
                    "purl": "pkg:composer/contao/contao@4.6.11",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-98fv-kpqs-mybc"
                        },
                        {
                            "vulnerability": "VCID-ah8s-8q49-8qbw"
                        },
                        {
                            "vulnerability": "VCID-u6sk-25yd-e7b2"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/contao/contao@4.6.11"
                }
            ],
            "aliases": [
                "CVE-2018-20028",
                "GHSA-q99w-j4mj-7hj8"
            ],
            "risk_score": 3.1,
            "exploitability": "0.5",
            "weighted_severity": "6.2",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-4rrm-u81m-7kdt"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "3.1",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/contao/contao@4.4.0"
}