Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/69697?format=api",
    "purl": "pkg:composer/magento/community-edition@2.4.6-p5",
    "type": "composer",
    "namespace": "magento",
    "name": "community-edition",
    "version": "2.4.6-p5",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2.4.7-beta2",
    "latest_non_vulnerable_version": "2.4.9-alpha3",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/47458?format=api",
            "vulnerability_id": "VCID-b4jg-dj1a-9qd5",
            "summary": "Magento Open Source allows Cross-Site Scripting (XSS)\nAdobe Commerce versions 2.4.6-p4, 2.4.5-p6, 2.4.4-p7, 2.4.7-beta3 and earlier are affected by a stored Cross-Site Scripting (XSS) vulnerability that could be abused by a high-privileged attacker to inject malicious scripts into vulnerable form fields. Malicious JavaScript may be executed in a victim’s browser when they browse to the page containing the vulnerable field. Confidentiality and integrity are considered high due to having admin impact.",
            "references": [
                {
                    "reference_url": "https://github.com/magento/magento2",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/magento/magento2"
                },
                {
                    "reference_url": "https://helpx.adobe.com/security/products/magento/apsb24-18.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://helpx.adobe.com/security/products/magento/apsb24-18.html"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-20759",
                    "reference_id": "CVE-2024-20759",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-20759"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-59vf-hjxc-f9c5",
                    "reference_id": "GHSA-59vf-hjxc-f9c5",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-59vf-hjxc-f9c5"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/69699?format=api",
                    "purl": "pkg:composer/magento/community-edition@2.4.4-p8",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/magento/community-edition@2.4.4-p8"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/69698?format=api",
                    "purl": "pkg:composer/magento/community-edition@2.4.5-p7",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/magento/community-edition@2.4.5-p7"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/69697?format=api",
                    "purl": "pkg:composer/magento/community-edition@2.4.6-p5",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/magento/community-edition@2.4.6-p5"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/67321?format=api",
                    "purl": "pkg:composer/magento/community-edition@2.4.7",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-cafy-5dd8-rudj"
                        },
                        {
                            "vulnerability": "VCID-dj5a-35gt-u7dn"
                        },
                        {
                            "vulnerability": "VCID-kxnm-y19k-mqg2"
                        },
                        {
                            "vulnerability": "VCID-qfw5-3tdu-x7g4"
                        },
                        {
                            "vulnerability": "VCID-qrwc-3gsb-zkfy"
                        },
                        {
                            "vulnerability": "VCID-r7nh-arcj-8fb3"
                        },
                        {
                            "vulnerability": "VCID-rf6p-ct86-5bgz"
                        },
                        {
                            "vulnerability": "VCID-th7y-aj51-mbaj"
                        },
                        {
                            "vulnerability": "VCID-y4r1-yr69-uuf6"
                        },
                        {
                            "vulnerability": "VCID-yyq6-dvyx-3bb9"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/magento/community-edition@2.4.7"
                }
            ],
            "aliases": [
                "CVE-2024-20759",
                "GHSA-59vf-hjxc-f9c5"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-b4jg-dj1a-9qd5"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/47435?format=api",
            "vulnerability_id": "VCID-ruru-fwmn-5kes",
            "summary": "Magento Open Source allows Improper Input Validation\nAdobe Commerce versions 2.4.6-p4, 2.4.5-p6, 2.4.4-p7, 2.4.7-beta3 and earlier are affected by an Improper Input Validation vulnerability that could result in arbitrary code execution in the context of the current user. Exploitation of this issue does not require user interaction, but the attack complexity is high.",
            "references": [
                {
                    "reference_url": "https://github.com/magento/magento2",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/magento/magento2"
                },
                {
                    "reference_url": "https://helpx.adobe.com/security/products/magento/apsb24-18.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://helpx.adobe.com/security/products/magento/apsb24-18.html"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-20758",
                    "reference_id": "CVE-2024-20758",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-20758"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-wh4m-6rh3-p4rq",
                    "reference_id": "GHSA-wh4m-6rh3-p4rq",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-wh4m-6rh3-p4rq"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/69699?format=api",
                    "purl": "pkg:composer/magento/community-edition@2.4.4-p8",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/magento/community-edition@2.4.4-p8"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/69698?format=api",
                    "purl": "pkg:composer/magento/community-edition@2.4.5-p7",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/magento/community-edition@2.4.5-p7"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/69697?format=api",
                    "purl": "pkg:composer/magento/community-edition@2.4.6-p5",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/magento/community-edition@2.4.6-p5"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/67321?format=api",
                    "purl": "pkg:composer/magento/community-edition@2.4.7",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-cafy-5dd8-rudj"
                        },
                        {
                            "vulnerability": "VCID-dj5a-35gt-u7dn"
                        },
                        {
                            "vulnerability": "VCID-kxnm-y19k-mqg2"
                        },
                        {
                            "vulnerability": "VCID-qfw5-3tdu-x7g4"
                        },
                        {
                            "vulnerability": "VCID-qrwc-3gsb-zkfy"
                        },
                        {
                            "vulnerability": "VCID-r7nh-arcj-8fb3"
                        },
                        {
                            "vulnerability": "VCID-rf6p-ct86-5bgz"
                        },
                        {
                            "vulnerability": "VCID-th7y-aj51-mbaj"
                        },
                        {
                            "vulnerability": "VCID-y4r1-yr69-uuf6"
                        },
                        {
                            "vulnerability": "VCID-yyq6-dvyx-3bb9"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/magento/community-edition@2.4.7"
                }
            ],
            "aliases": [
                "CVE-2024-20758",
                "GHSA-wh4m-6rh3-p4rq"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ruru-fwmn-5kes"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/magento/community-edition@2.4.6-p5"
}