Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/54124?format=api",
    "purl": "pkg:maven/org.apache.struts/struts2-convention-plugin@2.3.25",
    "type": "maven",
    "namespace": "org.apache.struts",
    "name": "struts2-convention-plugin",
    "version": "2.3.25",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "2.5.33",
    "latest_non_vulnerable_version": "6.3.0.2",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38855?format=api",
            "vulnerability_id": "VCID-cv6j-98vx-n3ed",
            "summary": "Path Traversal\nIn the Convention plugin in Apache Struts, it is possible to prepare a special URL which will be used for path traversal and execution of arbitrary code on server side.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2016-6795",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.04732",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89589",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.04732",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89606",
                            "published_at": "2026-06-06T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2016-6795"
                },
                {
                    "reference_url": "https://github.com/apache/struts",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/apache/struts"
                },
                {
                    "reference_url": "https://github.com/apache/struts/commit/030ffa33543f8953306ed0c0dc815c7fb74d7129",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/apache/struts/commit/030ffa33543f8953306ed0c0dc815c7fb74d7129"
                },
                {
                    "reference_url": "https://github.com/apache/struts/commit/8e67b9144aa643769b261e2492cb561e04d016ab",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/apache/struts/commit/8e67b9144aa643769b261e2492cb561e04d016ab"
                },
                {
                    "reference_url": "https://github.com/apache/struts/commit/c1869f4989942dd33fa4e189e0ac1f766fb5ac14",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/apache/struts/commit/c1869f4989942dd33fa4e189e0ac1f766fb5ac14"
                },
                {
                    "reference_url": "https://security.netapp.com/advisory/ntap-20180629-0003",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.netapp.com/advisory/ntap-20180629-0003"
                },
                {
                    "reference_url": "https://security.netapp.com/advisory/ntap-20180629-0003/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.netapp.com/advisory/ntap-20180629-0003/"
                },
                {
                    "reference_url": "https://struts.apache.org/docs/s2-042.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://struts.apache.org/docs/s2-042.html"
                },
                {
                    "reference_url": "https://web.archive.org/web/20200227214705/http://www.securityfocus.com/bid/93773",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://web.archive.org/web/20200227214705/http://www.securityfocus.com/bid/93773"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/93773",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/93773"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2016-6795",
                    "reference_id": "CVE-2016-6795",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2016-6795"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-44hv-jjx7-qfjg",
                    "reference_id": "GHSA-44hv-jjx7-qfjg",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-44hv-jjx7-qfjg"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/54128?format=api",
                    "purl": "pkg:maven/org.apache.struts/struts2-convention-plugin@2.3.31",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-78xk-z9kk-cqge"
                        },
                        {
                            "vulnerability": "VCID-dbzr-zyeu-73g8"
                        },
                        {
                            "vulnerability": "VCID-mvdz-exud-3ybz"
                        },
                        {
                            "vulnerability": "VCID-nztp-y8p8-cqc6"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-convention-plugin@2.3.31"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/153022?format=api",
                    "purl": "pkg:maven/org.apache.struts/struts2-convention-plugin@2.5.5",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-78xk-z9kk-cqge"
                        },
                        {
                            "vulnerability": "VCID-dbzr-zyeu-73g8"
                        },
                        {
                            "vulnerability": "VCID-mvdz-exud-3ybz"
                        },
                        {
                            "vulnerability": "VCID-nztp-y8p8-cqc6"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-convention-plugin@2.5.5"
                }
            ],
            "aliases": [
                "CVE-2016-6795",
                "GHSA-44hv-jjx7-qfjg"
            ],
            "risk_score": 4.5,
            "exploitability": "0.5",
            "weighted_severity": "9.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-cv6j-98vx-n3ed"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "4.5",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-convention-plugin@2.3.25"
}