Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/534926?format=api",
    "purl": "pkg:maven/org.xwiki.commons/xwiki-commons-pom@3.4",
    "type": "maven",
    "namespace": "org.xwiki.commons",
    "name": "xwiki-commons-pom",
    "version": "3.4",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "10.7.1",
    "latest_non_vulnerable_version": "10.7.1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/16457?format=api",
            "vulnerability_id": "VCID-32wm-42ye-tycy",
            "summary": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')\nThe Image Import function in XWiki through 10.7 has XSS.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-16277",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00183",
                            "scoring_system": "epss",
                            "scoring_elements": "0.39819",
                            "published_at": "2026-05-30T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-16277"
                },
                {
                    "reference_url": "https://github.com/xwiki/xwiki-platform",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.4",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/xwiki/xwiki-platform"
                },
                {
                    "reference_url": "https://mksec.tk/index.php/2018/09/27/cve-2018-16277-xss-in-xwiki",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.4",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://mksec.tk/index.php/2018/09/27/cve-2018-16277-xss-in-xwiki"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-16277",
                    "reference_id": "CVE-2018-16277",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.4",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-16277"
                },
                {
                    "reference_url": "https://mksec.tk/index.php/2018/09/27/cve-2018-16277-xss-in-xwiki/",
                    "reference_id": "CVE-2018-16277-XSS-IN-XWIKI",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://mksec.tk/index.php/2018/09/27/cve-2018-16277-xss-in-xwiki/"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-6mvr-cq72-f66v",
                    "reference_id": "GHSA-6mvr-cq72-f66v",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-6mvr-cq72-f66v"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/535141?format=api",
                    "purl": "pkg:maven/org.xwiki.commons/xwiki-commons-pom@10.7.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.commons/xwiki-commons-pom@10.7.1"
                }
            ],
            "aliases": [
                "CVE-2018-16277",
                "GHSA-6mvr-cq72-f66v"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-32wm-42ye-tycy"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.commons/xwiki-commons-pom@3.4"
}