Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/41997?format=api",
    "purl": "pkg:composer/prestashop/prestashop@1.7.8%2B1",
    "type": "composer",
    "namespace": "prestashop",
    "name": "prestashop",
    "version": "1.7.8+1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "8.2.5",
    "latest_non_vulnerable_version": "9.1.0",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/11696?format=api",
            "vulnerability_id": "VCID-bmyy-gqbc-ybhz",
            "summary": "Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')\nPrestaShop is an Open Source e-commerce web application. Versions of PrestaShop prior to 1.7.8.2 are vulnerable to blind SQL injection using search filters with `orderBy` and `sortOrder` parameters. The problem is fixed in version 1.7.8.2.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-43789",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.11673",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93638",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.11673",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93721",
                            "published_at": "2026-05-07T12:55:00Z"
                        },
                        {
                            "value": "0.11673",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9371",
                            "published_at": "2026-05-05T12:55:00Z"
                        },
                        {
                            "value": "0.11673",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93703",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.11673",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93706",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.11673",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93702",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.11673",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93699",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.11673",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93693",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.11673",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93675",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.11673",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93657",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.11673",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93648",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.11673",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93674",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.11673",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9367",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.11673",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93668",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.11673",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93659",
                            "published_at": "2026-04-07T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-43789"
                },
                {
                    "reference_url": "https://cwe.mitre.org/data/definitions/89.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://cwe.mitre.org/data/definitions/89.html"
                },
                {
                    "reference_url": "https://github.com/PrestaShop/PrestaShop",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/PrestaShop/PrestaShop"
                },
                {
                    "reference_url": "https://github.com/PrestaShop/PrestaShop/commit/6482b9ddc9dcebf7588dbfd616d2d635218408d6",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/PrestaShop/PrestaShop/commit/6482b9ddc9dcebf7588dbfd616d2d635218408d6"
                },
                {
                    "reference_url": "https://github.com/PrestaShop/PrestaShop/issues/26623",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/PrestaShop/PrestaShop/issues/26623"
                },
                {
                    "reference_url": "https://github.com/PrestaShop/PrestaShop/releases/tag/1.7.8.2",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/PrestaShop/PrestaShop/releases/tag/1.7.8.2"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-43789",
                    "reference_id": "CVE-2021-43789",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-43789"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-6xxj-gcjq-wgf4",
                    "reference_id": "GHSA-6xxj-gcjq-wgf4",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-6xxj-gcjq-wgf4"
                },
                {
                    "reference_url": "https://github.com/PrestaShop/PrestaShop/security/advisories/GHSA-6xxj-gcjq-wgf4",
                    "reference_id": "GHSA-6xxj-gcjq-wgf4",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/PrestaShop/PrestaShop/security/advisories/GHSA-6xxj-gcjq-wgf4"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/41998?format=api",
                    "purl": "pkg:composer/prestashop/prestashop@1.7.8%2B2",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-ghu1-c6e6-pudm"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/prestashop/prestashop@1.7.8%252B2"
                }
            ],
            "aliases": [
                "CVE-2021-43789",
                "GHSA-6xxj-gcjq-wgf4"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-bmyy-gqbc-ybhz"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "4.0",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/prestashop/prestashop@1.7.8%252B1"
}