Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/58654?format=api",
    "purl": "pkg:composer/contao/core-bundle@4.9.18",
    "type": "composer",
    "namespace": "contao",
    "name": "core-bundle",
    "version": "4.9.18",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "4.9.19",
    "latest_non_vulnerable_version": "5.6.5",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/41299?format=api",
            "vulnerability_id": "VCID-rj3d-jeyz-vye5",
            "summary": "Improper Privilege Management\nContao is an open source CMS that allows creation of websites and scalable web applications.All users are advised to update to Contao As a workaround users may disable the form generator or disable the login for untrusted back end users.",
            "references": [
                {
                    "reference_url": "https://contao.org/en/security-advisories/privilege-escalation-with-the-form-generator.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://contao.org/en/security-advisories/privilege-escalation-with-the-form-generator.html"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-37627",
                    "reference_id": "CVE-2021-37627",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-37627"
                },
                {
                    "reference_url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/contao/CVE-2021-37627.yaml",
                    "reference_id": "CVE-2021-37627.YAML",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/contao/CVE-2021-37627.yaml"
                },
                {
                    "reference_url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/core-bundle/CVE-2021-37627.yaml",
                    "reference_id": "CVE-2021-37627.YAML",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/core-bundle/CVE-2021-37627.yaml"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-hq5m-mqmx-fw6m",
                    "reference_id": "GHSA-hq5m-mqmx-fw6m",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-hq5m-mqmx-fw6m"
                },
                {
                    "reference_url": "https://github.com/contao/contao/security/advisories/GHSA-hq5m-mqmx-fw6m",
                    "reference_id": "GHSA-hq5m-mqmx-fw6m",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/contao/contao/security/advisories/GHSA-hq5m-mqmx-fw6m"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/58656?format=api",
                    "purl": "pkg:composer/contao/core-bundle@4.9.19",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/contao/core-bundle@4.9.19"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/58657?format=api",
                    "purl": "pkg:composer/contao/core-bundle@4.11.8",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/contao/core-bundle@4.11.8"
                }
            ],
            "aliases": [
                "CVE-2021-37627",
                "GHSA-hq5m-mqmx-fw6m"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-rj3d-jeyz-vye5"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/41301?format=api",
            "vulnerability_id": "VCID-t2u3-tgg3-cbb9",
            "summary": "Code Injection\nContao is an open source CMS that allows you to create websites and scalable web applications.Update to Contao to resolve. If you cannot update then disable the login for untrusted back end users.",
            "references": [
                {
                    "reference_url": "https://contao.org/en/security-advisories/php-file-inclusion-via-insert-tags.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://contao.org/en/security-advisories/php-file-inclusion-via-insert-tags.html"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-37626",
                    "reference_id": "CVE-2021-37626",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-37626"
                },
                {
                    "reference_url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/contao/CVE-2021-37626.yaml",
                    "reference_id": "CVE-2021-37626.YAML",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/contao/CVE-2021-37626.yaml"
                },
                {
                    "reference_url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/core-bundle/CVE-2021-37626.yaml",
                    "reference_id": "CVE-2021-37626.YAML",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/core-bundle/CVE-2021-37626.yaml"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-r6mv-ppjc-4hgr",
                    "reference_id": "GHSA-r6mv-ppjc-4hgr",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-r6mv-ppjc-4hgr"
                },
                {
                    "reference_url": "https://github.com/contao/contao/security/advisories/GHSA-r6mv-ppjc-4hgr",
                    "reference_id": "GHSA-r6mv-ppjc-4hgr",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/contao/contao/security/advisories/GHSA-r6mv-ppjc-4hgr"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/58656?format=api",
                    "purl": "pkg:composer/contao/core-bundle@4.9.19",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/contao/core-bundle@4.9.19"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/58657?format=api",
                    "purl": "pkg:composer/contao/core-bundle@4.11.8",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/contao/core-bundle@4.11.8"
                }
            ],
            "aliases": [
                "CVE-2021-37626",
                "GHSA-r6mv-ppjc-4hgr"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-t2u3-tgg3-cbb9"
        }
    ],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/41358?format=api",
            "vulnerability_id": "VCID-82d1-8yn8-sydv",
            "summary": "Cross site scripting via HTML attributes in the back end\nIt is possible for untrusted users to inject malicious code into HTML attributes in the back end, which will be executed both in the element preview (back end) and on the website (front end).\n\nInstallations are only affected if there are untrusted back end users who have the rights to modify HTML fields (e.g. TinyMCE).",
            "references": [
                {
                    "reference_url": "https://contao.org/en/news/contao-4-9-16-and-4-11-5-are-available.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://contao.org/en/news/contao-4-9-16-and-4-11-5-are-available.html"
                },
                {
                    "reference_url": "https://contao.org/en/security-advisories/cross-site-scripting-via-html-attributes-in-the-back-end.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://contao.org/en/security-advisories/cross-site-scripting-via-html-attributes-in-the-back-end.html"
                },
                {
                    "reference_url": "https://github.com/contao/contao",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/contao/contao"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-35955",
                    "reference_id": "CVE-2021-35955",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-35955"
                },
                {
                    "reference_url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/contao/CVE-2021-35955.yaml",
                    "reference_id": "CVE-2021-35955.YAML",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/contao/CVE-2021-35955.yaml"
                },
                {
                    "reference_url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/core-bundle/CVE-2021-35955.yaml",
                    "reference_id": "CVE-2021-35955.YAML",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/core-bundle/CVE-2021-35955.yaml"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-hr3h-x6gq-rqcp",
                    "reference_id": "GHSA-hr3h-x6gq-rqcp",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-hr3h-x6gq-rqcp"
                },
                {
                    "reference_url": "https://github.com/contao/contao/security/advisories/GHSA-hr3h-x6gq-rqcp",
                    "reference_id": "GHSA-hr3h-x6gq-rqcp",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/contao/contao/security/advisories/GHSA-hr3h-x6gq-rqcp"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/58653?format=api",
                    "purl": "pkg:composer/contao/core-bundle@4.4.56",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-rj3d-jeyz-vye5"
                        },
                        {
                            "vulnerability": "VCID-t2u3-tgg3-cbb9"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/contao/core-bundle@4.4.56"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/58654?format=api",
                    "purl": "pkg:composer/contao/core-bundle@4.9.18",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-rj3d-jeyz-vye5"
                        },
                        {
                            "vulnerability": "VCID-t2u3-tgg3-cbb9"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/contao/core-bundle@4.9.18"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/58655?format=api",
                    "purl": "pkg:composer/contao/core-bundle@4.11.7",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-rj3d-jeyz-vye5"
                        },
                        {
                            "vulnerability": "VCID-t2u3-tgg3-cbb9"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/contao/core-bundle@4.11.7"
                }
            ],
            "aliases": [
                "CVE-2021-35955",
                "GHSA-hr3h-x6gq-rqcp"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-82d1-8yn8-sydv"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/contao/core-bundle@4.9.18"
}