Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/45387?format=api",
    "vulnerability_id": "VCID-jypk-46kq-x7c2",
    "summary": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')\nJenkins Maven Repository Server Plugin 1.10 and earlier does not escape project and build display names on the Build Artifacts As Maven Repository page, resulting in a stored cross-site scripting (XSS) vulnerability.",
    "aliases": [
        {
            "alias": "CVE-2023-35144"
        },
        {
            "alias": "GHSA-39r8-4962-j7vg"
        }
    ],
    "fixed_packages": [],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/65514?format=api",
            "purl": "pkg:maven/jenkins/repository@1.10",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ct1y-drgp-aucv"
                },
                {
                    "vulnerability": "VCID-jypk-46kq-x7c2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/jenkins/repository@1.10"
        }
    ],
    "references": [
        {
            "reference_url": "https://www.jenkins.io/security/advisory/2023-06-14/#SECURITY-2951",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://www.jenkins.io/security/advisory/2023-06-14/#SECURITY-2951"
        },
        {
            "reference_url": "http://www.openwall.com/lists/oss-security/2023/06/14/5",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.openwall.com/lists/oss-security/2023/06/14/5"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-35144",
            "reference_id": "CVE-2023-35144",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-35144"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-39r8-4962-j7vg",
            "reference_id": "GHSA-39r8-4962-j7vg",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-39r8-4962-j7vg"
        }
    ],
    "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": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-jypk-46kq-x7c2"
}