Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/73310?format=api",
    "purl": "pkg:maven/org.apache.struts/struts2-core@6.1.1",
    "type": "maven",
    "namespace": "org.apache.struts",
    "name": "struts2-core",
    "version": "6.1.1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "6.1.2.1",
    "latest_non_vulnerable_version": "7.1.1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/49658?format=api",
            "vulnerability_id": "VCID-8cmt-z8g9-duf2",
            "summary": "Apache Struts 2 is Missing XML Validation\nMissing XML Validation vulnerability in Apache Struts, Apache Struts.\n\nThis issue affects Apache Struts: from 2.0.0 before 2.2.1; Apache Struts: from 2.2.1 through 6.1.0.\n\nUsers are recommended to upgrade to version 6.1.1, which fixes the issue.",
            "references": [
                {
                    "reference_url": "https://cwiki.apache.org/confluence/display/WW/S2-069",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cwiki.apache.org/confluence/display/WW/S2-069"
                },
                {
                    "reference_url": "https://github.com/apache/struts",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/apache/struts"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2025-68493",
                    "reference_id": "CVE-2025-68493",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-68493"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-qcfc-hmrc-59x7",
                    "reference_id": "GHSA-qcfc-hmrc-59x7",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-qcfc-hmrc-59x7"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/73310?format=api",
                    "purl": "pkg:maven/org.apache.struts/struts2-core@6.1.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@6.1.1"
                }
            ],
            "aliases": [
                "CVE-2025-68493",
                "GHSA-qcfc-hmrc-59x7"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-8cmt-z8g9-duf2"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@6.1.1"
}