Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/1536?format=api",
    "purl": "pkg:apache/tomcat@4.1.29",
    "type": "apache",
    "namespace": "",
    "name": "tomcat",
    "version": "4.1.29",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "4.1.35",
    "latest_non_vulnerable_version": "11.0.21",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/4910?format=api",
            "vulnerability_id": "VCID-afg3-t31c-ffgp",
            "summary": "Cross-site scripting (XSS) vulnerability in Apache Tomcat 4.1 allows remote attackers to execute arbitrary web script and steal cookies via a URL with encoded newlines followed by a request to a .jsp file whose name contains the script.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2002-1567",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.41657",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97417",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.41657",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97391",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.41657",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97398",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.41657",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97402",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.41657",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97405",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.41657",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97412",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.41657",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97413",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.41657",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97415",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.41657",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97416",
                            "published_at": "2026-04-12T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2002-1567"
                },
                {
                    "reference_url": "https://lists.apache.org/thread.html/29dc6c2b625789e70a9c4756b5a327e6547273ff8bde7e0327af48c5@<dev.tomcat.apache.org>",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://lists.apache.org/thread.html/29dc6c2b625789e70a9c4756b5a327e6547273ff8bde7e0327af48c5@<dev.tomcat.apache.org>"
                },
                {
                    "reference_url": "https://lists.apache.org/thread.html/c62b0e3a7bf23342352a5810c640a94b6db69957c5c19db507004d74@<dev.tomcat.apache.org>",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://lists.apache.org/thread.html/c62b0e3a7bf23342352a5810c640a94b6db69957c5c19db507004d74@<dev.tomcat.apache.org>"
                },
                {
                    "reference_url": "https://lists.apache.org/thread.html/rb71997f506c6cc8b530dd845c084995a9878098846c7b4eacfae8db3@<dev.tomcat.apache.org>",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://lists.apache.org/thread.html/rb71997f506c6cc8b530dd845c084995a9878098846c7b4eacfae8db3@<dev.tomcat.apache.org>"
                },
                {
                    "reference_url": "https://web.archive.org/web/20041213160616/http://archives.neohapsis.com/archives/vuln-dev/2002-q3/0482.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://web.archive.org/web/20041213160616/http://archives.neohapsis.com/archives/vuln-dev/2002-q3/0482.html"
                },
                {
                    "reference_url": "http://tomcat.apache.org/security-4.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "http://tomcat.apache.org/security-4.html"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2002-1567",
                    "reference_id": "CVE-2002-1567",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Moderate",
                            "scoring_system": "apache_tomcat",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2002-1567"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2002-1567",
                    "reference_id": "CVE-2002-1567",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2002-1567"
                },
                {
                    "reference_url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/unix/remote/21734.txt",
                    "reference_id": "CVE-2002-1567;OSVDB-9208",
                    "reference_type": "exploit",
                    "scores": [],
                    "url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/unix/remote/21734.txt"
                },
                {
                    "reference_url": "https://www.securityfocus.com/bid/5542/info",
                    "reference_id": "CVE-2002-1567;OSVDB-9208",
                    "reference_type": "exploit",
                    "scores": [],
                    "url": "https://www.securityfocus.com/bid/5542/info"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-86fp-jgwm-wgj5",
                    "reference_id": "GHSA-86fp-jgwm-wgj5",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-86fp-jgwm-wgj5"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/1536?format=api",
                    "purl": "pkg:apache/tomcat@4.1.29",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apache/tomcat@4.1.29"
                }
            ],
            "aliases": [
                "CVE-2002-1567",
                "GHSA-86fp-jgwm-wgj5"
            ],
            "risk_score": 10.0,
            "exploitability": "2.0",
            "weighted_severity": "6.2",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-afg3-t31c-ffgp"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apache/tomcat@4.1.29"
}