Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/208655?format=api",
    "purl": "pkg:composer/cakephp/cakephp@2.9.0-RC1",
    "type": "composer",
    "namespace": "cakephp",
    "name": "cakephp",
    "version": "2.9.0-RC1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "3.10.3",
    "latest_non_vulnerable_version": "5.3.1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/52745?format=api",
            "vulnerability_id": "VCID-cp8q-ar71-mqdf",
            "summary": "Cross-Site Request Forgery (CSRF)\nCakePHP mishandles CSRF token generation. This might be remotely exploitable in conjunction with XSS.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-15400",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00085",
                            "scoring_system": "epss",
                            "scoring_elements": "0.24635",
                            "published_at": "2026-06-04T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-15400"
                },
                {
                    "reference_url": "https://bakery.cakephp.org/2020/04/18/cakephp_406_released.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "4.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://bakery.cakephp.org/2020/04/18/cakephp_406_released.html"
                },
                {
                    "reference_url": "https://bakery.cakephp.org/2022/05/08/cakephp_3103_released.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "4.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://bakery.cakephp.org/2022/05/08/cakephp_3103_released.html"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=985673",
                    "reference_id": "985673",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=985673"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-15400",
                    "reference_id": "CVE-2020-15400",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "4.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-15400"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/147034?format=api",
                    "purl": "pkg:composer/cakephp/cakephp@3.10.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/cakephp/cakephp@3.10.3"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/77570?format=api",
                    "purl": "pkg:composer/cakephp/cakephp@4.0.6",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-xsdu-qsw4-ebaz"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/cakephp/cakephp@4.0.6"
                }
            ],
            "aliases": [
                "CVE-2020-15400",
                "GHSA-j33j-fg2g-mcv2"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-cp8q-ar71-mqdf"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38457?format=api",
            "vulnerability_id": "VCID-f8wn-raej-7qg4",
            "summary": "Improper Input Validation\nThe `clientIp` function in CakePHP allows remote attackers to spoof their IP via the `CLIENT-IP` HTTP header.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2016-4793",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.08275",
                            "scoring_system": "epss",
                            "scoring_elements": "0.92385",
                            "published_at": "2026-06-04T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2016-4793"
                },
                {
                    "reference_url": "https://bakery.cakephp.org/2016/03/13/cakephp_2613_2711_282_3017_3112_325_released.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://bakery.cakephp.org/2016/03/13/cakephp_2613_2711_282_3017_3112_325_released.html"
                },
                {
                    "reference_url": "https://github.com/cakephp/cakephp",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/cakephp/cakephp"
                },
                {
                    "reference_url": "https://github.com/cakephp/cakephp/commit/908754649f70bab2b1093942e17c9a46a2fcf6c2",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/cakephp/cakephp/commit/908754649f70bab2b1093942e17c9a46a2fcf6c2"
                },
                {
                    "reference_url": "https://support.citrix.com/article/CTX236992",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://support.citrix.com/article/CTX236992"
                },
                {
                    "reference_url": "https://www.exploit-db.com/exploits/39813",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://www.exploit-db.com/exploits/39813"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/95846",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "http://www.securityfocus.com/bid/95846"
                },
                {
                    "reference_url": "http://legalhackers.com/advisories/CakePHP-IP-Spoofing-Vulnerability.txt",
                    "reference_id": "CVE-2016-4793",
                    "reference_type": "exploit",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "http://legalhackers.com/advisories/CakePHP-IP-Spoofing-Vulnerability.txt"
                },
                {
                    "reference_url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/php/webapps/39813.txt",
                    "reference_id": "CVE-2016-4793",
                    "reference_type": "exploit",
                    "scores": [],
                    "url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/php/webapps/39813.txt"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2016-4793",
                    "reference_id": "CVE-2016-4793",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2016-4793"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/154762?format=api",
                    "purl": "pkg:composer/cakephp/cakephp@3.0.17",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-cp8q-ar71-mqdf"
                        },
                        {
                            "vulnerability": "VCID-dha1-eyc9-7qff"
                        },
                        {
                            "vulnerability": "VCID-f8wn-raej-7qg4"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/cakephp/cakephp@3.0.17"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/154763?format=api",
                    "purl": "pkg:composer/cakephp/cakephp@3.1.12",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-cp8q-ar71-mqdf"
                        },
                        {
                            "vulnerability": "VCID-dha1-eyc9-7qff"
                        },
                        {
                            "vulnerability": "VCID-f8wn-raej-7qg4"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/cakephp/cakephp@3.1.12"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/53231?format=api",
                    "purl": "pkg:composer/cakephp/cakephp@3.2.5",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-cp8q-ar71-mqdf"
                        },
                        {
                            "vulnerability": "VCID-dha1-eyc9-7qff"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/cakephp/cakephp@3.2.5"
                }
            ],
            "aliases": [
                "CVE-2016-4793",
                "GHSA-j8p3-8m69-2hqq"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-f8wn-raej-7qg4"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/cakephp/cakephp@2.9.0-RC1"
}