Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/58321?format=api",
    "purl": "pkg:composer/contao/core-bundle@4.11.5",
    "type": "composer",
    "namespace": "contao",
    "name": "core-bundle",
    "version": "4.11.5",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "4.11.8",
    "latest_non_vulnerable_version": "5.6.5",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/41175?format=api",
            "vulnerability_id": "VCID-azpb-eq6c-e7bw",
            "summary": "Cross site scripting in the system log\nIt is possible to inject code into the `tl_log` table that will be executed in the browser when the system log is called in the back end.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-35210",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00371",
                            "scoring_system": "epss",
                            "scoring_elements": "0.59216",
                            "published_at": "2026-06-04T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-35210"
                },
                {
                    "reference_url": "https://contao.org/en/security-advisories/cross-site-scripting-in-the-system-log-2021.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://contao.org/en/security-advisories/cross-site-scripting-in-the-system-log-2021.html"
                },
                {
                    "reference_url": "https://github.com/contao/contao",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/contao/contao"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-35210",
                    "reference_id": "CVE-2021-35210",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/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-35210"
                },
                {
                    "reference_url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/contao/CVE-2021-35210.yaml",
                    "reference_id": "CVE-2021-35210.YAML",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/contao/CVE-2021-35210.yaml"
                },
                {
                    "reference_url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/core-bundle/CVE-2021-35210.yaml",
                    "reference_id": "CVE-2021-35210.YAML",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/core-bundle/CVE-2021-35210.yaml"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-h58v-c6rf-g9f7",
                    "reference_id": "GHSA-h58v-c6rf-g9f7",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-h58v-c6rf-g9f7"
                },
                {
                    "reference_url": "https://github.com/contao/contao/security/advisories/GHSA-h58v-c6rf-g9f7",
                    "reference_id": "GHSA-h58v-c6rf-g9f7",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/contao/contao/security/advisories/GHSA-h58v-c6rf-g9f7"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/58320?format=api",
                    "purl": "pkg:composer/contao/core-bundle@4.9.16",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/contao/core-bundle@4.9.16"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/58321?format=api",
                    "purl": "pkg:composer/contao/core-bundle@4.11.5",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/contao/core-bundle@4.11.5"
                }
            ],
            "aliases": [
                "CVE-2021-35210",
                "GHSA-h58v-c6rf-g9f7"
            ],
            "risk_score": 3.1,
            "exploitability": "0.5",
            "weighted_severity": "6.2",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-azpb-eq6c-e7bw"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/contao/core-bundle@4.11.5"
}