Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/56397?format=api",
    "purl": "pkg:maven/org.jenkins-ci.main/jenkins-core@2.270",
    "type": "maven",
    "namespace": "org.jenkins-ci.main",
    "name": "jenkins-core",
    "version": "2.270",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "2.276",
    "latest_non_vulnerable_version": "2.555",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/16772?format=api",
            "vulnerability_id": "VCID-betz-7kth-p3cr",
            "summary": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')\nJenkins 2.270 through 2.393 (both inclusive), LTS 2.277.1 through 2.375.3 (both inclusive) does not escape the Jenkins version a plugin depends on when rendering the error message stating its incompatibility with the current version of Jenkins, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to provide plugins to the configured update sites and have this message shown by Jenkins instances.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2023-27898.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2023-27898.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2023-27898",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.02778",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86101",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.02778",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86041",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.02778",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8605",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.02778",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86064",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.02778",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86062",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.02778",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86057",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.02778",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86075",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.02778",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8608",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.02778",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86072",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.02778",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86092",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.02778",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86005",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.02778",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86022",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.02778",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86021",
                            "published_at": "2026-04-07T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2023-27898"
                },
                {
                    "reference_url": "https://github.com/jenkinsci/jenkins/commit/59ac866d9946d7c296023da0ea78baafd4cf71eb",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/jenkinsci/jenkins/commit/59ac866d9946d7c296023da0ea78baafd4cf71eb"
                },
                {
                    "reference_url": "https://www.jenkins.io/security/advisory/2023-03-08/#SECURITY-3037",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "9.6",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-02-28T18:33:39Z/"
                        }
                    ],
                    "url": "https://www.jenkins.io/security/advisory/2023-03-08/#SECURITY-3037"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2177629",
                    "reference_id": "2177629",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2177629"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-27898",
                    "reference_id": "CVE-2023-27898",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-27898"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-j664-qhh4-hpf8",
                    "reference_id": "GHSA-j664-qhh4-hpf8",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-j664-qhh4-hpf8"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2023:1655",
                    "reference_id": "RHSA-2023:1655",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2023:1655"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2023:3663",
                    "reference_id": "RHSA-2023:3663",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2023:3663"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/56372?format=api",
                    "purl": "pkg:maven/org.jenkins-ci.main/jenkins-core@2.375.4",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-432r-ukuw-4bgt"
                        },
                        {
                            "vulnerability": "VCID-6925-fwf4-f7df"
                        },
                        {
                            "vulnerability": "VCID-7xf4-2kjf-87fe"
                        },
                        {
                            "vulnerability": "VCID-dvyn-m8js-xbc2"
                        },
                        {
                            "vulnerability": "VCID-wyec-gfgc-4yfw"
                        },
                        {
                            "vulnerability": "VCID-xznu-vdv9-eue6"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.main/jenkins-core@2.375.4"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/56373?format=api",
                    "purl": "pkg:maven/org.jenkins-ci.main/jenkins-core@2.394",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.main/jenkins-core@2.394"
                }
            ],
            "aliases": [
                "CVE-2023-27898",
                "GHSA-j664-qhh4-hpf8"
            ],
            "risk_score": 4.3,
            "exploitability": "0.5",
            "weighted_severity": "8.6",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-betz-7kth-p3cr"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "4.3",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.main/jenkins-core@2.270"
}