Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/217251?format=api",
    "purl": "pkg:composer/laravel/framework@5.6.8",
    "type": "composer",
    "namespace": "laravel",
    "name": "framework",
    "version": "5.6.8",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "6.20.14",
    "latest_non_vulnerable_version": "12.1.1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/53961?format=api",
            "vulnerability_id": "VCID-96p3-hbxp-duaz",
            "summary": "Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')\nLaravel is a web application framework. Versions of Laravel before 6.20.11, 7.30.2 and 8.22.1 contain a query binding exploitation. This same exploit applies to the illuminate/database package which is used by Laravel. If a request is crafted where a field that is normally a non-array value is an array, and that input is not validated or cast to its expected type before being passed to the query builder, an unexpected number of query bindings can be added to the query. In some situations, this will simply lead to no results being returned by the query builder; however, it is possible certain queries could be affected in a way that causes the query to return unexpected results.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-21263",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.01139",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78748",
                            "published_at": "2026-06-04T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-21263"
                },
                {
                    "reference_url": "https://blog.laravel.com/security-laravel-62011-7302-8221-released",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.2",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://blog.laravel.com/security-laravel-62011-7302-8221-released"
                },
                {
                    "reference_url": "https://blog.laravel.com/security-laravel-62012-7303-released",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.2",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://blog.laravel.com/security-laravel-62012-7303-released"
                },
                {
                    "reference_url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/illuminate/database/CVE-2021-21263.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.2",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/illuminate/database/CVE-2021-21263.yaml"
                },
                {
                    "reference_url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/laravel/framework/CVE-2021-21263.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.2",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/laravel/framework/CVE-2021-21263.yaml"
                },
                {
                    "reference_url": "https://github.com/laravel/framework/pull/35865",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.2",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/laravel/framework/pull/35865"
                },
                {
                    "reference_url": "https://packagist.org/packages/illuminate/database",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.2",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://packagist.org/packages/illuminate/database"
                },
                {
                    "reference_url": "https://packagist.org/packages/laravel/framework",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.2",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://packagist.org/packages/laravel/framework"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=980095",
                    "reference_id": "980095",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=980095"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-21263",
                    "reference_id": "CVE-2021-21263",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.2",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-21263"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-3p32-j457-pg5x",
                    "reference_id": "GHSA-3p32-j457-pg5x",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-3p32-j457-pg5x"
                },
                {
                    "reference_url": "https://github.com/laravel/framework/security/advisories/GHSA-3p32-j457-pg5x",
                    "reference_id": "GHSA-3p32-j457-pg5x",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.2",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/laravel/framework/security/advisories/GHSA-3p32-j457-pg5x"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/141208?format=api",
                    "purl": "pkg:composer/laravel/framework@6.20.11",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-96p3-hbxp-duaz"
                        },
                        {
                            "vulnerability": "VCID-wptp-4xv5-43du"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/laravel/framework@6.20.11"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/79566?format=api",
                    "purl": "pkg:composer/laravel/framework@6.20.12",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-wptp-4xv5-43du"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/laravel/framework@6.20.12"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/141209?format=api",
                    "purl": "pkg:composer/laravel/framework@7.30.2",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-96p3-hbxp-duaz"
                        },
                        {
                            "vulnerability": "VCID-wptp-4xv5-43du"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/laravel/framework@7.30.2"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/79567?format=api",
                    "purl": "pkg:composer/laravel/framework@7.30.3",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-wptp-4xv5-43du"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/laravel/framework@7.30.3"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/79568?format=api",
                    "purl": "pkg:composer/laravel/framework@8.22.1",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-wptp-4xv5-43du"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/laravel/framework@8.22.1"
                }
            ],
            "aliases": [
                "CVE-2021-21263",
                "GHSA-3p32-j457-pg5x"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-96p3-hbxp-duaz"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/39528?format=api",
            "vulnerability_id": "VCID-aju9-h338-mfhf",
            "summary": "Cryptographic Issues\nExploit of encryption failure vulnerability",
            "references": [
                {
                    "reference_url": "https://medium.com/@taylorotwell/laravel-security-release-5-6-15-and-5-5-40-56f1257933a0",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://medium.com/@taylorotwell/laravel-security-release-5-6-15-and-5-5-40-56f1257933a0"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/55272?format=api",
                    "purl": "pkg:composer/laravel/framework@5.6.15",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-96p3-hbxp-duaz"
                        },
                        {
                            "vulnerability": "VCID-c1e9-2tyr-j3e9"
                        },
                        {
                            "vulnerability": "VCID-wptp-4xv5-43du"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/laravel/framework@5.6.15"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/198585?format=api",
                    "purl": "pkg:composer/laravel/framework@10.36.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/laravel/framework@10.36.0"
                }
            ],
            "aliases": [
                "GMS-2018-72"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-aju9-h338-mfhf"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40162?format=api",
            "vulnerability_id": "VCID-c1e9-2tyr-j3e9",
            "summary": "Session Fixation\nCookie serialization vulnerability in laravel framework.",
            "references": [
                {
                    "reference_url": "https://laravel.com/docs/5.6/upgrade#upgrade-5.6.30",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://laravel.com/docs/5.6/upgrade#upgrade-5.6.30"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/56331?format=api",
                    "purl": "pkg:composer/laravel/framework@5.6.30",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-96p3-hbxp-duaz"
                        },
                        {
                            "vulnerability": "VCID-wptp-4xv5-43du"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/laravel/framework@5.6.30"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/198585?format=api",
                    "purl": "pkg:composer/laravel/framework@10.36.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/laravel/framework@10.36.0"
                }
            ],
            "aliases": [
                "GMS-2018-73"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-c1e9-2tyr-j3e9"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/54021?format=api",
            "vulnerability_id": "VCID-wptp-4xv5-43du",
            "summary": "Unexpected database bindings\nThis is a follow-up to the previous security advisory (GHSA-3p32-j457-pg5x) which addresses a few additional edge cases.\n\nIf a request is crafted where a field that is normally a non-array value is an array, and that input is not validated or cast to its expected type before being passed to the query builder, an unexpected number of query bindings can be added to the query. In some situations, this will simply lead to no results being returned by the query builder; however, it is possible certain queries could be affected in a way that causes the query to return unexpected results.",
            "references": [
                {
                    "reference_url": "https://packagist.org/packages/illuminate/database",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.2",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://packagist.org/packages/illuminate/database"
                },
                {
                    "reference_url": "https://packagist.org/packages/laravel/framework",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.2",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://packagist.org/packages/laravel/framework"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-3p32-j457-pg5x",
                    "reference_id": "GHSA-3p32-j457-pg5x",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.2",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-3p32-j457-pg5x"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-x7p5-p2c9-phvg",
                    "reference_id": "GHSA-x7p5-p2c9-phvg",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-x7p5-p2c9-phvg"
                },
                {
                    "reference_url": "https://github.com/laravel/framework/security/advisories/GHSA-x7p5-p2c9-phvg",
                    "reference_id": "GHSA-x7p5-p2c9-phvg",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.2",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/laravel/framework/security/advisories/GHSA-x7p5-p2c9-phvg"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/79668?format=api",
                    "purl": "pkg:composer/laravel/framework@6.20.14",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/laravel/framework@6.20.14"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/79669?format=api",
                    "purl": "pkg:composer/laravel/framework@7.30.4",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/laravel/framework@7.30.4"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/79670?format=api",
                    "purl": "pkg:composer/laravel/framework@8.24.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/laravel/framework@8.24.0"
                }
            ],
            "aliases": [
                "GHSA-x7p5-p2c9-phvg",
                "GMS-2021-114",
                "GMS-2021-116"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-wptp-4xv5-43du"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/39527?format=api",
            "vulnerability_id": "VCID-zg1j-9fvd-bqek",
            "summary": "Unsafe payload decryption\nThere's a potential exploit of the Laravel Encrypter component that may cause the Encrypter to fail on decryption and unexpectedly return false. To exploit this, the attacker must be able to modify the encrypted payload before it is decrypted. This could lead to unexpected behavior when combined with weak type comparisons.",
            "references": [
                {
                    "reference_url": "https://medium.com/@taylorotwell/laravel-security-release-5-6-15-and-5-5-40-56f1257933a0",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://medium.com/@taylorotwell/laravel-security-release-5-6-15-and-5-5-40-56f1257933a0"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/55272?format=api",
                    "purl": "pkg:composer/laravel/framework@5.6.15",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-96p3-hbxp-duaz"
                        },
                        {
                            "vulnerability": "VCID-c1e9-2tyr-j3e9"
                        },
                        {
                            "vulnerability": "VCID-wptp-4xv5-43du"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/laravel/framework@5.6.15"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/198585?format=api",
                    "purl": "pkg:composer/laravel/framework@10.36.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/laravel/framework@10.36.0"
                }
            ],
            "aliases": [
                "GMS-2018-27"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-zg1j-9fvd-bqek"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/laravel/framework@5.6.8"
}