Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/65514?format=api",
    "purl": "pkg:maven/jenkins/repository@1.10",
    "type": "maven",
    "namespace": "jenkins",
    "name": "repository",
    "version": "1.10",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/45385?format=api",
            "vulnerability_id": "VCID-ct1y-drgp-aucv",
            "summary": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')\nJenkins Maven Repository Server Plugin 1.10 and earlier does not escape the versions of build artifacts on the Build Artifacts As Maven Repository page, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to control maven project versions in `pom.xml`.",
            "references": [
                {
                    "reference_url": "https://www.jenkins.io/security/advisory/2023-06-14/#SECURITY-3156",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.jenkins.io/security/advisory/2023-06-14/#SECURITY-3156"
                },
                {
                    "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-35143",
                    "reference_id": "CVE-2023-35143",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-35143"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-9pvw-8q92-hm9w",
                    "reference_id": "GHSA-9pvw-8q92-hm9w",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-9pvw-8q92-hm9w"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2023-35143",
                "GHSA-9pvw-8q92-hm9w"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ct1y-drgp-aucv"
        },
        {
            "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.",
            "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"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2023-35144",
                "GHSA-39r8-4962-j7vg"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-jypk-46kq-x7c2"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/jenkins/repository@1.10"
}