Lookup for vulnerabilities affecting packages.

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

{
    "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.",
    "aliases": [
        {
            "alias": "CVE-2002-1567"
        },
        {
            "alias": "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"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1510?format=api",
            "purl": "pkg:apache/tomcat@4.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-18j8-kwdv-dyak"
                },
                {
                    "vulnerability": "VCID-27q8-96un-9fbk"
                },
                {
                    "vulnerability": "VCID-2jnv-segx-zkfd"
                },
                {
                    "vulnerability": "VCID-4rcx-xfn5-7kdb"
                },
                {
                    "vulnerability": "VCID-6epr-2hbd-skcz"
                },
                {
                    "vulnerability": "VCID-6p3e-4u8s-17ep"
                },
                {
                    "vulnerability": "VCID-7969-7a8h-zyhh"
                },
                {
                    "vulnerability": "VCID-87p8-zvvf-y7dm"
                },
                {
                    "vulnerability": "VCID-88v7-kc2y-bfd7"
                },
                {
                    "vulnerability": "VCID-99es-8ecb-uub8"
                },
                {
                    "vulnerability": "VCID-a9cu-fxqw-xkdg"
                },
                {
                    "vulnerability": "VCID-acmu-9eqb-fya5"
                },
                {
                    "vulnerability": "VCID-afg3-t31c-ffgp"
                },
                {
                    "vulnerability": "VCID-bhq7-d545-27bj"
                },
                {
                    "vulnerability": "VCID-bung-pa58-ayfv"
                },
                {
                    "vulnerability": "VCID-dcrp-rae1-zfcm"
                },
                {
                    "vulnerability": "VCID-fvvt-kufu-k3a6"
                },
                {
                    "vulnerability": "VCID-j2sv-62js-xbav"
                },
                {
                    "vulnerability": "VCID-mnf8-t3ew-4fgb"
                },
                {
                    "vulnerability": "VCID-mp3r-5531-uqg5"
                },
                {
                    "vulnerability": "VCID-p45v-qpgg-qqfj"
                },
                {
                    "vulnerability": "VCID-peya-mr7j-vugf"
                },
                {
                    "vulnerability": "VCID-q7jp-hn4a-4kec"
                },
                {
                    "vulnerability": "VCID-qdck-q54n-rkcv"
                },
                {
                    "vulnerability": "VCID-qxkf-4ddv-j3b7"
                },
                {
                    "vulnerability": "VCID-r1bk-cqhx-ebc5"
                },
                {
                    "vulnerability": "VCID-r84b-7ay9-ekcm"
                },
                {
                    "vulnerability": "VCID-ssnx-gz8e-87ab"
                },
                {
                    "vulnerability": "VCID-tcju-3rvu-wkht"
                },
                {
                    "vulnerability": "VCID-v94p-bxm3-akfd"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apache/tomcat@4.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1534?format=api",
            "purl": "pkg:apache/tomcat@4.1.28",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-86ur-vudp-4yc2"
                },
                {
                    "vulnerability": "VCID-afg3-t31c-ffgp"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apache/tomcat@4.1.28"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1513?format=api",
            "purl": "pkg:maven/org.apache.tomcat/tomcat@4.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-18j8-kwdv-dyak"
                },
                {
                    "vulnerability": "VCID-27q8-96un-9fbk"
                },
                {
                    "vulnerability": "VCID-2jnv-segx-zkfd"
                },
                {
                    "vulnerability": "VCID-4rcx-xfn5-7kdb"
                },
                {
                    "vulnerability": "VCID-6epr-2hbd-skcz"
                },
                {
                    "vulnerability": "VCID-6p3e-4u8s-17ep"
                },
                {
                    "vulnerability": "VCID-7969-7a8h-zyhh"
                },
                {
                    "vulnerability": "VCID-87p8-zvvf-y7dm"
                },
                {
                    "vulnerability": "VCID-88v7-kc2y-bfd7"
                },
                {
                    "vulnerability": "VCID-99es-8ecb-uub8"
                },
                {
                    "vulnerability": "VCID-a9cu-fxqw-xkdg"
                },
                {
                    "vulnerability": "VCID-acmu-9eqb-fya5"
                },
                {
                    "vulnerability": "VCID-afg3-t31c-ffgp"
                },
                {
                    "vulnerability": "VCID-bhq7-d545-27bj"
                },
                {
                    "vulnerability": "VCID-bung-pa58-ayfv"
                },
                {
                    "vulnerability": "VCID-dcrp-rae1-zfcm"
                },
                {
                    "vulnerability": "VCID-fvvt-kufu-k3a6"
                },
                {
                    "vulnerability": "VCID-j2sv-62js-xbav"
                },
                {
                    "vulnerability": "VCID-mnf8-t3ew-4fgb"
                },
                {
                    "vulnerability": "VCID-mp3r-5531-uqg5"
                },
                {
                    "vulnerability": "VCID-p45v-qpgg-qqfj"
                },
                {
                    "vulnerability": "VCID-peya-mr7j-vugf"
                },
                {
                    "vulnerability": "VCID-q7jp-hn4a-4kec"
                },
                {
                    "vulnerability": "VCID-qdck-q54n-rkcv"
                },
                {
                    "vulnerability": "VCID-qxkf-4ddv-j3b7"
                },
                {
                    "vulnerability": "VCID-r1bk-cqhx-ebc5"
                },
                {
                    "vulnerability": "VCID-r84b-7ay9-ekcm"
                },
                {
                    "vulnerability": "VCID-rwvj-tq6x-2ubs"
                },
                {
                    "vulnerability": "VCID-ssnx-gz8e-87ab"
                },
                {
                    "vulnerability": "VCID-tcju-3rvu-wkht"
                },
                {
                    "vulnerability": "VCID-v94p-bxm3-akfd"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.tomcat/tomcat@4.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1535?format=api",
            "purl": "pkg:maven/org.apache.tomcat/tomcat@4.1.28",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-86ur-vudp-4yc2"
                },
                {
                    "vulnerability": "VCID-afg3-t31c-ffgp"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.tomcat/tomcat@4.1.28"
        }
    ],
    "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.97425",
                    "published_at": "2026-04-16T12: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"
                },
                {
                    "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"
                }
            ],
            "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"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 1035,
            "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."
        },
        {
            "cwe_id": 79,
            "name": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')",
            "description": "The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users."
        },
        {
            "cwe_id": 937,
            "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."
        }
    ],
    "exploits": [
        {
            "date_added": "2002-08-21",
            "description": "Apache Tomcat 4.1 - JSP Request Cross-Site Scripting",
            "required_action": null,
            "due_date": null,
            "notes": null,
            "known_ransomware_campaign_use": true,
            "source_date_published": "2002-08-21",
            "exploit_type": "remote",
            "platform": "unix",
            "source_date_updated": "2012-10-04",
            "data_source": "Exploit-DB",
            "source_url": "https://www.securityfocus.com/bid/5542/info"
        }
    ],
    "severity_range_score": "4.0 - 6.9",
    "exploitability": "2.0",
    "weighted_severity": "6.2",
    "risk_score": 10.0,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-afg3-t31c-ffgp"
}