Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/43340?format=api",
    "vulnerability_id": "VCID-kupx-qgas-r7fz",
    "summary": "Jenkins allows Cross-Site Scripting (XSS)\nCross-site scripting (XSS) vulnerability in the slave overview page in Jenkins before 1.638 and LTS before 1.625.2 allows remote authenticated users with certain permissions to inject arbitrary web script or HTML via the slave offline status message.",
    "aliases": [
        {
            "alias": "CVE-2015-5326"
        },
        {
            "alias": "GHSA-5mwr-jg3r-jv66"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/62086?format=api",
            "purl": "pkg:maven/org.jenkins-ci.main/jenkins-core@1.625.2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.main/jenkins-core@1.625.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/62085?format=api",
            "purl": "pkg:maven/org.jenkins-ci.main/jenkins-core@1.638",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.main/jenkins-core@1.638"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/62091?format=api",
            "purl": "pkg:maven/org.jenkins-ci.main/jenkins-core@1.626",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-126z-y9y8-zqhx"
                },
                {
                    "vulnerability": "VCID-hzw1-bfa6-47au"
                },
                {
                    "vulnerability": "VCID-jj3u-n2vy-5fe8"
                },
                {
                    "vulnerability": "VCID-kupx-qgas-r7fz"
                },
                {
                    "vulnerability": "VCID-swpw-2zw3-d3hy"
                },
                {
                    "vulnerability": "VCID-vuwz-whaq-rybd"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.main/jenkins-core@1.626"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2016:0070",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2016:0070"
        },
        {
            "reference_url": "https://github.com/jenkinsci/jenkins",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/jenkinsci/jenkins"
        },
        {
            "reference_url": "https://github.com/jenkinsci/jenkins/commit/abe561499bbba2e725804c1117fc957028bbd608",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/jenkinsci/jenkins/commit/abe561499bbba2e725804c1117fc957028bbd608"
        },
        {
            "reference_url": "https://wiki.jenkins-ci.org/display/SECURITY/Jenkins+Security+Advisory+2015-11-11",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://wiki.jenkins-ci.org/display/SECURITY/Jenkins+Security+Advisory+2015-11-11"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2015-5326",
            "reference_id": "CVE-2015-5326",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2015-5326"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-5mwr-jg3r-jv66",
            "reference_id": "GHSA-5mwr-jg3r-jv66",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-5mwr-jg3r-jv66"
        }
    ],
    "weaknesses": [
        {
            "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."
        },
        {
            "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."
        }
    ],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-kupx-qgas-r7fz"
}