Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/51510?format=api",
    "purl": "pkg:composer/phpmyadmin/phpmyadmin@4.5.3%2B1",
    "type": "composer",
    "namespace": "phpmyadmin",
    "name": "phpmyadmin",
    "version": "4.5.3+1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "4.9.2",
    "latest_non_vulnerable_version": "5.2.1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/10860?format=api",
            "vulnerability_id": "VCID-csnq-wny2-ykau",
            "summary": "Cross-site Scripting\nA Cross-site scripting (XSS) vulnerability in the format function in `libraries/sql-parser/src/Utils/Error.php` in the SQL parser in phpMyAdmin allows remote authenticated users to inject arbitrary web script or HTML via a crafted query.",
            "references": [
                {
                    "reference_url": "http://lists.fedoraproject.org/pipermail/package-announce/2016-March/178562.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.4",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "http://lists.fedoraproject.org/pipermail/package-announce/2016-March/178562.html"
                },
                {
                    "reference_url": "http://lists.fedoraproject.org/pipermail/package-announce/2016-March/178869.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.4",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "http://lists.fedoraproject.org/pipermail/package-announce/2016-March/178869.html"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2016-2559",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00269",
                            "scoring_system": "epss",
                            "scoring_elements": "0.50565",
                            "published_at": "2026-05-30T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2016-2559"
                },
                {
                    "reference_url": "https://github.com/phpmyadmin/composer",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.4",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/phpmyadmin/composer"
                },
                {
                    "reference_url": "https://github.com/phpmyadmin/phpmyadmin/commit/3a6a9a807d99371ee126635e1a505fc1fe0df32c",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.4",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/phpmyadmin/phpmyadmin/commit/3a6a9a807d99371ee126635e1a505fc1fe0df32c"
                },
                {
                    "reference_url": "https://www.phpmyadmin.net/security/PMASA-2016-10",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.4",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://www.phpmyadmin.net/security/PMASA-2016-10"
                },
                {
                    "reference_url": "https://www.phpmyadmin.net/security/PMASA-2016-10/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.phpmyadmin.net/security/PMASA-2016-10/"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2016-2559",
                    "reference_id": "CVE-2016-2559",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.4",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/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-2016-2559"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/236267?format=api",
                    "purl": "pkg:composer/phpmyadmin/phpmyadmin@4.5.5%2B1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpmyadmin/phpmyadmin@4.5.5%252B1"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/51485?format=api",
                    "purl": "pkg:composer/phpmyadmin/phpmyadmin@4.7.0",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-16mj-x5z9-p3fg"
                        },
                        {
                            "vulnerability": "VCID-2ap1-m9m8-u3hy"
                        },
                        {
                            "vulnerability": "VCID-37xb-1hde-xbf5"
                        },
                        {
                            "vulnerability": "VCID-agu6-2ekh-w3c7"
                        },
                        {
                            "vulnerability": "VCID-b2hp-kkk6-jkcq"
                        },
                        {
                            "vulnerability": "VCID-c4pu-7u27-cfgu"
                        },
                        {
                            "vulnerability": "VCID-cgt1-sj8s-zqds"
                        },
                        {
                            "vulnerability": "VCID-d3p9-e9bp-zyhz"
                        },
                        {
                            "vulnerability": "VCID-fd3x-mgqk-zbaq"
                        },
                        {
                            "vulnerability": "VCID-nytq-s7ve-8yb6"
                        },
                        {
                            "vulnerability": "VCID-q43w-un5j-cfbh"
                        },
                        {
                            "vulnerability": "VCID-rrah-sr7t-nqbu"
                        },
                        {
                            "vulnerability": "VCID-t3pq-b4hy-ruad"
                        },
                        {
                            "vulnerability": "VCID-xbfy-u4pz-97c8"
                        },
                        {
                            "vulnerability": "VCID-zs34-9s3m-c3hs"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpmyadmin/phpmyadmin@4.7.0"
                }
            ],
            "aliases": [
                "CVE-2016-2559",
                "GHSA-7rf8-9r8f-qf59"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-csnq-wny2-ykau"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/10861?format=api",
            "vulnerability_id": "VCID-hgng-wqfp-nqe2",
            "summary": "Improper Input Validation\nThe `checkHTTP` function in `libraries/Config.class.php` in phpMyAdmin does not verify X.509 certificates from `api.github.com` SSL servers, which allows man-in-the-middle attackers to spoof these servers and obtain sensitive information via a crafted certificate.",
            "references": [
                {
                    "reference_url": "http://lists.fedoraproject.org/pipermail/package-announce/2016-March/178562.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "http://lists.fedoraproject.org/pipermail/package-announce/2016-March/178562.html"
                },
                {
                    "reference_url": "http://lists.fedoraproject.org/pipermail/package-announce/2016-March/178869.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "http://lists.fedoraproject.org/pipermail/package-announce/2016-March/178869.html"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2016-2562",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.0023",
                            "scoring_system": "epss",
                            "scoring_elements": "0.45884",
                            "published_at": "2026-05-30T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2016-2562"
                },
                {
                    "reference_url": "https://github.com/phpmyadmin/composer",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/phpmyadmin/composer"
                },
                {
                    "reference_url": "https://github.com/phpmyadmin/phpmyadmin/commit/e42b7e3aedd29dd0f7a48575f20bfc5aca0ff976",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/phpmyadmin/phpmyadmin/commit/e42b7e3aedd29dd0f7a48575f20bfc5aca0ff976"
                },
                {
                    "reference_url": "https://www.phpmyadmin.net/security/PMASA-2016-13",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://www.phpmyadmin.net/security/PMASA-2016-13"
                },
                {
                    "reference_url": "https://www.phpmyadmin.net/security/PMASA-2016-13/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.phpmyadmin.net/security/PMASA-2016-13/"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2016-2562",
                    "reference_id": "CVE-2016-2562",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2016-2562"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/236267?format=api",
                    "purl": "pkg:composer/phpmyadmin/phpmyadmin@4.5.5%2B1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpmyadmin/phpmyadmin@4.5.5%252B1"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/51485?format=api",
                    "purl": "pkg:composer/phpmyadmin/phpmyadmin@4.7.0",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-16mj-x5z9-p3fg"
                        },
                        {
                            "vulnerability": "VCID-2ap1-m9m8-u3hy"
                        },
                        {
                            "vulnerability": "VCID-37xb-1hde-xbf5"
                        },
                        {
                            "vulnerability": "VCID-agu6-2ekh-w3c7"
                        },
                        {
                            "vulnerability": "VCID-b2hp-kkk6-jkcq"
                        },
                        {
                            "vulnerability": "VCID-c4pu-7u27-cfgu"
                        },
                        {
                            "vulnerability": "VCID-cgt1-sj8s-zqds"
                        },
                        {
                            "vulnerability": "VCID-d3p9-e9bp-zyhz"
                        },
                        {
                            "vulnerability": "VCID-fd3x-mgqk-zbaq"
                        },
                        {
                            "vulnerability": "VCID-nytq-s7ve-8yb6"
                        },
                        {
                            "vulnerability": "VCID-q43w-un5j-cfbh"
                        },
                        {
                            "vulnerability": "VCID-rrah-sr7t-nqbu"
                        },
                        {
                            "vulnerability": "VCID-t3pq-b4hy-ruad"
                        },
                        {
                            "vulnerability": "VCID-xbfy-u4pz-97c8"
                        },
                        {
                            "vulnerability": "VCID-zs34-9s3m-c3hs"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpmyadmin/phpmyadmin@4.7.0"
                }
            ],
            "aliases": [
                "CVE-2016-2562",
                "GHSA-w8qg-j9fp-hrjf"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-hgng-wqfp-nqe2"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpmyadmin/phpmyadmin@4.5.3%252B1"
}