Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/972496?format=api",
    "purl": "pkg:apk/alpine/phpmyadmin@5.0.1-r0?arch=aarch64&distroversion=v3.14&reponame=community",
    "type": "apk",
    "namespace": "alpine",
    "name": "phpmyadmin",
    "version": "5.0.1-r0",
    "qualifiers": {
        "arch": "aarch64",
        "distroversion": "v3.14",
        "reponame": "community"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "5.0.2-r0",
    "latest_non_vulnerable_version": "5.0.2-r0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/54510?format=api",
            "vulnerability_id": "VCID-5657-kcyh-7bc2",
            "summary": "phpMyAdmin SQL injection in user accounts page\nIn phpMyAdmin 4 before 4.9.4 and 5 before 5.0.1, SQL injection exists in the user accounts page. A malicious user could inject custom SQL in place of their own username when creating queries to this page. An attacker must have a valid MySQL account to access the server.",
            "references": [
                {
                    "reference_url": "http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00024.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00024.html"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-5504",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.22375",
                            "scoring_system": "epss",
                            "scoring_elements": "0.95844",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.22375",
                            "scoring_system": "epss",
                            "scoring_elements": "0.95834",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.22375",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9584",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.22375",
                            "scoring_system": "epss",
                            "scoring_elements": "0.95843",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.23238",
                            "scoring_system": "epss",
                            "scoring_elements": "0.95908",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.23238",
                            "scoring_system": "epss",
                            "scoring_elements": "0.95928",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.23238",
                            "scoring_system": "epss",
                            "scoring_elements": "0.95924",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.23238",
                            "scoring_system": "epss",
                            "scoring_elements": "0.95916",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.23238",
                            "scoring_system": "epss",
                            "scoring_elements": "0.95945",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.23238",
                            "scoring_system": "epss",
                            "scoring_elements": "0.95942",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.23238",
                            "scoring_system": "epss",
                            "scoring_elements": "0.95939",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.23238",
                            "scoring_system": "epss",
                            "scoring_elements": "0.95937",
                            "published_at": "2026-04-08T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-5504"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-5504",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-5504"
                },
                {
                    "reference_url": "https://cybersecurityworks.com/zerodays/cve-2020-5504-phpmyadmin.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://cybersecurityworks.com/zerodays/cve-2020-5504-phpmyadmin.html"
                },
                {
                    "reference_url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/phpmyadmin/phpmyadmin/CVE-2020-5504.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/phpmyadmin/phpmyadmin/CVE-2020-5504.yaml"
                },
                {
                    "reference_url": "https://github.com/MarkLee131/awesome-web-pocs/blob/main/CVE-2020-5504.md",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/MarkLee131/awesome-web-pocs/blob/main/CVE-2020-5504.md"
                },
                {
                    "reference_url": "https://github.com/phpmyadmin/composer",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/phpmyadmin/composer"
                },
                {
                    "reference_url": "https://lists.debian.org/debian-lts-announce/2020/01/msg00011.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://lists.debian.org/debian-lts-announce/2020/01/msg00011.html"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-5504",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-5504"
                },
                {
                    "reference_url": "https://www.phpmyadmin.net/security/PMASA-2020-1",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://www.phpmyadmin.net/security/PMASA-2020-1"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=948718",
                    "reference_id": "948718",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=948718"
                },
                {
                    "reference_url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/php/webapps/52451.txt",
                    "reference_id": "CVE-2020-5504",
                    "reference_type": "exploit",
                    "scores": [],
                    "url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/php/webapps/52451.txt"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-fgj8-93xx-f6g6",
                    "reference_id": "GHSA-fgj8-93xx-f6g6",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-fgj8-93xx-f6g6"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/4639-1/",
                    "reference_id": "USN-4639-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/4639-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/USN-4843-1/",
                    "reference_id": "USN-USN-4843-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/USN-4843-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/972496?format=api",
                    "purl": "pkg:apk/alpine/phpmyadmin@5.0.1-r0?arch=aarch64&distroversion=v3.14&reponame=community",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/phpmyadmin@5.0.1-r0%3Farch=aarch64&distroversion=v3.14&reponame=community"
                }
            ],
            "aliases": [
                "CVE-2020-5504",
                "GHSA-fgj8-93xx-f6g6"
            ],
            "risk_score": 10.0,
            "exploitability": "2.0",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-5657-kcyh-7bc2"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/phpmyadmin@5.0.1-r0%3Farch=aarch64&distroversion=v3.14&reponame=community"
}