Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/51512?format=api",
    "purl": "pkg:composer/phpmyadmin/phpmyadmin@4.5.4%2B1",
    "type": "composer",
    "namespace": "phpmyadmin",
    "name": "phpmyadmin",
    "version": "4.5.4+1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "2.6.4-pl4",
    "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": "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://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": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2016-2559"
                }
            ],
            "fixed_packages": [
                {
                    "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-2ap1-m9m8-u3hy"
                        },
                        {
                            "vulnerability": "VCID-cgt1-sj8s-zqds"
                        },
                        {
                            "vulnerability": "VCID-nytq-s7ve-8yb6"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpmyadmin/phpmyadmin@4.7.0"
                }
            ],
            "aliases": [
                "CVE-2016-2559"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "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": "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://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": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2016-2562"
                }
            ],
            "fixed_packages": [
                {
                    "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-2ap1-m9m8-u3hy"
                        },
                        {
                            "vulnerability": "VCID-cgt1-sj8s-zqds"
                        },
                        {
                            "vulnerability": "VCID-nytq-s7ve-8yb6"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpmyadmin/phpmyadmin@4.7.0"
                }
            ],
            "aliases": [
                "CVE-2016-2562"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "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.4%252B1"
}