Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/148819?format=api",
    "purl": "pkg:maven/org.apache.struts/struts2-showcase@2.1.2",
    "type": "maven",
    "namespace": "org.apache.struts",
    "name": "struts2-showcase",
    "version": "2.1.2",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "2.3.14",
    "latest_non_vulnerable_version": "2.3.14.1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/4596?format=api",
            "vulnerability_id": "VCID-n4fb-crnk-eugz",
            "summary": "Apache Struts Showcase App 2.0.0 through 2.3.13, as used in Struts 2 before 2.3.14.3, allows remote attackers to execute arbitrary OGNL code via a crafted parameter name that is not properly handled when invoking a redirect.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2013-1965.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2013-1965.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2013-1965",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.91789",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99686",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.91789",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99694",
                            "published_at": "2026-05-05T12:55:00Z"
                        },
                        {
                            "value": "0.91789",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99692",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.91789",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99687",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.91789",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99691",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.91789",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9969",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.91789",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99684",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.91789",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99689",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.91789",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99688",
                            "published_at": "2026-04-13T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2013-1965"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=967655",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=967655"
                },
                {
                    "reference_url": "https://github.com/apache/struts",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/apache/struts"
                },
                {
                    "reference_url": "https://github.com/apache/struts/commit/7e6f641ebb142663cbd1653dc49bed725edf7f56",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/apache/struts/commit/7e6f641ebb142663cbd1653dc49bed725edf7f56"
                },
                {
                    "reference_url": "http://struts.apache.org/development/2.x/docs/s2-012.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "http://struts.apache.org/development/2.x/docs/s2-012.html"
                },
                {
                    "reference_url": "http://struts.apache.org/docs/s2-012.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://struts.apache.org/docs/s2-012.html"
                },
                {
                    "reference_url": "https://web.archive.org/web/20140227231557/http://www.securityfocus.com/bid/60082",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://web.archive.org/web/20140227231557/http://www.securityfocus.com/bid/60082"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/60082",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/60082"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:apache:struts:*:*:*:*:*:*:*:*",
                    "reference_id": "cpe:2.3:a:apache:struts:*:*:*:*:*:*:*:*",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:apache:struts:*:*:*:*:*:*:*:*"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:apache:struts2-showcase:*:*:*:*:*:*:*:*",
                    "reference_id": "cpe:2.3:a:apache:struts2-showcase:*:*:*:*:*:*:*:*",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:apache:struts2-showcase:*:*:*:*:*:*:*:*"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2013-1965",
                    "reference_id": "CVE-2013-1965",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.3",
                            "scoring_system": "cvssv2",
                            "scoring_elements": "AV:N/AC:M/Au:N/C:C/I:C/A:C"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2013-1965"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-whmq-v94q-34p9",
                    "reference_id": "GHSA-whmq-v94q-34p9",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-whmq-v94q-34p9"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/148836?format=api",
                    "purl": "pkg:maven/org.apache.struts/struts2-showcase@2.3.14",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-showcase@2.3.14"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/20318?format=api",
                    "purl": "pkg:maven/org.apache.struts/struts2-showcase@2.3.14.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-showcase@2.3.14.1"
                }
            ],
            "aliases": [
                "CVE-2013-1965",
                "GHSA-whmq-v94q-34p9"
            ],
            "risk_score": 10.0,
            "exploitability": "2.0",
            "weighted_severity": "8.4",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-n4fb-crnk-eugz"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "10.0",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-showcase@2.1.2"
}