Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/61555?format=api",
    "purl": "pkg:maven/com.liferay/com.liferay.layout.seo.web@2.0.4",
    "type": "maven",
    "namespace": "com.liferay",
    "name": "com.liferay.layout.seo.web",
    "version": "2.0.4",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/43011?format=api",
            "vulnerability_id": "VCID-k7yh-fkj8-t3fx",
            "summary": "Liferay Portal and Liferay DXP allows arbitrary injection via the site name\nCross-site scripting (XSS) vulnerability in the Layout module's Open Graph integration before 2.0.4 in Liferay Portal 7.3.0 through 7.4.0, and Liferay DXP 7.3 before service pack 3 allows remote attackers to inject arbitrary web script or HTML via the site name.",
            "references": [
                {
                    "reference_url": "https://github.com/liferay/liferay-portal",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/liferay/liferay-portal"
                },
                {
                    "reference_url": "https://github.com/liferay/liferay-portal/commit/fd7fc6e186b36944b045e0fdf368e588889c3f02",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/liferay/liferay-portal/commit/fd7fc6e186b36944b045e0fdf368e588889c3f02"
                },
                {
                    "reference_url": "https://liferay.atlassian.net/browse/LPE-17282",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://liferay.atlassian.net/browse/LPE-17282"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-26597",
                    "reference_id": "CVE-2022-26597",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-26597"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-3vww-jrmm-9vff",
                    "reference_id": "GHSA-3vww-jrmm-9vff",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-3vww-jrmm-9vff"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/61555?format=api",
                    "purl": "pkg:maven/com.liferay/com.liferay.layout.seo.web@2.0.4",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.liferay/com.liferay.layout.seo.web@2.0.4"
                }
            ],
            "aliases": [
                "CVE-2022-26597",
                "GHSA-3vww-jrmm-9vff"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-k7yh-fkj8-t3fx"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.liferay/com.liferay.layout.seo.web@2.0.4"
}