Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/18504?format=api",
    "vulnerability_id": "VCID-3vtx-uz1q-vqc6",
    "summary": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')\nJenkins 2.415 and earlier, LTS 2.401.2 and earlier does not sanitize or properly encode URLs in build logs when transforming them into hyperlinks, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to control build log contents.",
    "aliases": [
        {
            "alias": "CVE-2023-39151"
        },
        {
            "alias": "GHSA-69vw-3pcm-84rw"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/72477?format=api",
            "purl": "pkg:maven/org.jenkins-ci.main/jenkins-core@2.401.3",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.main/jenkins-core@2.401.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/72476?format=api",
            "purl": "pkg:maven/org.jenkins-ci.main/jenkins-core@2.414.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.main/jenkins-core@2.414.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/59132?format=api",
            "purl": "pkg:maven/org.jenkins-ci.main/jenkins-core@2.416",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.main/jenkins-core@2.416"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/59130?format=api",
            "purl": "pkg:maven/org.jenkins-ci.main/jenkins-core@2.401.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3vtx-uz1q-vqc6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.main/jenkins-core@2.401.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/581491?format=api",
            "purl": "pkg:maven/org.jenkins-ci.main/jenkins-core@2.402",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3vtx-uz1q-vqc6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.main/jenkins-core@2.402"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/59131?format=api",
            "purl": "pkg:maven/org.jenkins-ci.main/jenkins-core@2.415",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3vtx-uz1q-vqc6"
                },
                {
                    "vulnerability": "VCID-4cy9-1z3y-ekba"
                },
                {
                    "vulnerability": "VCID-dyka-xcrq-8fds"
                },
                {
                    "vulnerability": "VCID-npms-7xaw-mye9"
                },
                {
                    "vulnerability": "VCID-s1wm-h4xx-tfh9"
                },
                {
                    "vulnerability": "VCID-vv6x-yj68-cqas"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.main/jenkins-core@2.415"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2023-39151.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.0",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2023-39151.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2023-39151",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.0106",
                    "scoring_system": "epss",
                    "scoring_elements": "0.77633",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.0106",
                    "scoring_system": "epss",
                    "scoring_elements": "0.77677",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.0106",
                    "scoring_system": "epss",
                    "scoring_elements": "0.77679",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.0106",
                    "scoring_system": "epss",
                    "scoring_elements": "0.7759",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.0106",
                    "scoring_system": "epss",
                    "scoring_elements": "0.77642",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.0106",
                    "scoring_system": "epss",
                    "scoring_elements": "0.77643",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.0106",
                    "scoring_system": "epss",
                    "scoring_elements": "0.77617",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.0106",
                    "scoring_system": "epss",
                    "scoring_elements": "0.77598",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.0106",
                    "scoring_system": "epss",
                    "scoring_elements": "0.77627",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.0106",
                    "scoring_system": "epss",
                    "scoring_elements": "0.7766",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.01207",
                    "scoring_system": "epss",
                    "scoring_elements": "0.79045",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.01207",
                    "scoring_system": "epss",
                    "scoring_elements": "0.79081",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.01207",
                    "scoring_system": "epss",
                    "scoring_elements": "0.79061",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.01207",
                    "scoring_system": "epss",
                    "scoring_elements": "0.79023",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.01207",
                    "scoring_system": "epss",
                    "scoring_elements": "0.7903",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.01207",
                    "scoring_system": "epss",
                    "scoring_elements": "0.78993",
                    "published_at": "2026-04-21T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2023-39151"
        },
        {
            "reference_url": "https://github.com/CVEProject/cvelist/blob/975222d6e43b5b1296dbc8a67d03704a1d2554e8/2023/39xxx/CVE-2023-39151.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.0",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/CVEProject/cvelist/blob/975222d6e43b5b1296dbc8a67d03704a1d2554e8/2023/39xxx/CVE-2023-39151.json"
        },
        {
            "reference_url": "https://github.com/jenkinsci/jenkins",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.0",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/jenkinsci/jenkins"
        },
        {
            "reference_url": "https://github.com/jenkinsci/jenkins/commit/1b9f1ccdbb7d00705b036d1332908fe52c2cd7ae",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.0",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/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/1b9f1ccdbb7d00705b036d1332908fe52c2cd7ae"
        },
        {
            "reference_url": "https://www.jenkins.io/security/advisory/2023-07-26/#SECURITY-3188",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.0",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/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/2024-10-21T21:06:38Z/"
                }
            ],
            "url": "https://www.jenkins.io/security/advisory/2023-07-26/#SECURITY-3188"
        },
        {
            "reference_url": "http://www.openwall.com/lists/oss-security/2023/07/26/2",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.0",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/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/2024-10-21T21:06:38Z/"
                }
            ],
            "url": "http://www.openwall.com/lists/oss-security/2023/07/26/2"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2226895",
            "reference_id": "2226895",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2226895"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-39151",
            "reference_id": "CVE-2023-39151",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.0",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/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-39151"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-69vw-3pcm-84rw",
            "reference_id": "GHSA-69vw-3pcm-84rw",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-69vw-3pcm-84rw"
        }
    ],
    "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": [],
    "severity_range_score": "7.0 - 8.9",
    "exploitability": "0.5",
    "weighted_severity": "8.0",
    "risk_score": 4.0,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-3vtx-uz1q-vqc6"
}