Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/8960?format=api",
    "vulnerability_id": "VCID-5a6u-x9s5-tfg8",
    "summary": "Cross-site Scripting\nA cross-site scripting vulnerability exists in Jenkins in `confirmationList.jelly` and `stopButton.jelly` that allows attackers with Job/Configure and/or Job/Create permission to create an item name containing JavaScript that would be executed in another user's browser when that other user performs some UI actions.",
    "aliases": [
        {
            "alias": "CVE-2018-1000170"
        },
        {
            "alias": "GHSA-9jcv-v4jp-w3cq"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/27498?format=api",
            "purl": "pkg:maven/org.jenkins-ci.main/jenkins-core@2.107.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-8x6t-vhae-kkd8"
                },
                {
                    "vulnerability": "VCID-df66-65bh-3fhy"
                },
                {
                    "vulnerability": "VCID-h88g-ywc5-1ycw"
                },
                {
                    "vulnerability": "VCID-pdf9-n6qs-ybcc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.main/jenkins-core@2.107.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/82110?format=api",
            "purl": "pkg:maven/org.jenkins-ci.main/jenkins-core@2.116",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.main/jenkins-core@2.116"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/27496?format=api",
            "purl": "pkg:maven/org.jenkins-ci.main/jenkins-core@2.105",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5a6u-x9s5-tfg8"
                },
                {
                    "vulnerability": "VCID-u9ph-5sbd-mfgp"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.main/jenkins-core@2.105"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/27497?format=api",
            "purl": "pkg:maven/org.jenkins-ci.main/jenkins-core@2.107.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5a6u-x9s5-tfg8"
                },
                {
                    "vulnerability": "VCID-u9ph-5sbd-mfgp"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.main/jenkins-core@2.107.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/143417?format=api",
            "purl": "pkg:maven/org.jenkins-ci.main/jenkins-core@2.108",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5a6u-x9s5-tfg8"
                },
                {
                    "vulnerability": "VCID-8x6t-vhae-kkd8"
                },
                {
                    "vulnerability": "VCID-df66-65bh-3fhy"
                },
                {
                    "vulnerability": "VCID-h88g-ywc5-1ycw"
                },
                {
                    "vulnerability": "VCID-pdf9-n6qs-ybcc"
                },
                {
                    "vulnerability": "VCID-u9ph-5sbd-mfgp"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.main/jenkins-core@2.108"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/994171?format=api",
            "purl": "pkg:maven/org.jenkins-ci.main/jenkins-core@2.115",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5a6u-x9s5-tfg8"
                },
                {
                    "vulnerability": "VCID-u9ph-5sbd-mfgp"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.main/jenkins-core@2.115"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-1000170.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.4",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-1000170.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-1000170",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00215",
                    "scoring_system": "epss",
                    "scoring_elements": "0.43871",
                    "published_at": "2026-05-14T12:55:00Z"
                },
                {
                    "value": "0.00215",
                    "scoring_system": "epss",
                    "scoring_elements": "0.43949",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.00215",
                    "scoring_system": "epss",
                    "scoring_elements": "0.43864",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.00215",
                    "scoring_system": "epss",
                    "scoring_elements": "0.43744",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.00215",
                    "scoring_system": "epss",
                    "scoring_elements": "0.43818",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.00215",
                    "scoring_system": "epss",
                    "scoring_elements": "0.43836",
                    "published_at": "2026-05-09T12:55:00Z"
                },
                {
                    "value": "0.00215",
                    "scoring_system": "epss",
                    "scoring_elements": "0.43773",
                    "published_at": "2026-05-11T12:55:00Z"
                },
                {
                    "value": "0.00215",
                    "scoring_system": "epss",
                    "scoring_elements": "0.43804",
                    "published_at": "2026-05-12T12:55:00Z"
                },
                {
                    "value": "0.00215",
                    "scoring_system": "epss",
                    "scoring_elements": "0.43986",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.00215",
                    "scoring_system": "epss",
                    "scoring_elements": "0.44034",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00215",
                    "scoring_system": "epss",
                    "scoring_elements": "0.44057",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00215",
                    "scoring_system": "epss",
                    "scoring_elements": "0.43988",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00215",
                    "scoring_system": "epss",
                    "scoring_elements": "0.44039",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00215",
                    "scoring_system": "epss",
                    "scoring_elements": "0.44041",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00215",
                    "scoring_system": "epss",
                    "scoring_elements": "0.44056",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00215",
                    "scoring_system": "epss",
                    "scoring_elements": "0.44024",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00215",
                    "scoring_system": "epss",
                    "scoring_elements": "0.44008",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00215",
                    "scoring_system": "epss",
                    "scoring_elements": "0.44069",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00215",
                    "scoring_system": "epss",
                    "scoring_elements": "0.44059",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00215",
                    "scoring_system": "epss",
                    "scoring_elements": "0.43994",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.00215",
                    "scoring_system": "epss",
                    "scoring_elements": "0.43945",
                    "published_at": "2026-04-24T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-1000170"
        },
        {
            "reference_url": "https://github.com/jenkinsci/jenkins/commit/07d18cfd6d336a2b7cc0a78e120d9739a5d4e1d1",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.4",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/jenkinsci/jenkins/commit/07d18cfd6d336a2b7cc0a78e120d9739a5d4e1d1"
        },
        {
            "reference_url": "https://jenkins.io/security/advisory/2018-04-11/#SECURITY-759",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.4",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://jenkins.io/security/advisory/2018-04-11/#SECURITY-759"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1566950",
            "reference_id": "1566950",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1566950"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1000170",
            "reference_id": "CVE-2018-1000170",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.4",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1000170"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-9jcv-v4jp-w3cq",
            "reference_id": "GHSA-9jcv-v4jp-w3cq",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-9jcv-v4jp-w3cq"
        }
    ],
    "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": "4.0 - 6.9",
    "exploitability": "0.5",
    "weighted_severity": "6.2",
    "risk_score": 3.1,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-5a6u-x9s5-tfg8"
}