Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/65473?format=api",
    "purl": "pkg:maven/org.jenkins.plugin.templateWorkflows/template-workflows@41.v32d86a",
    "type": "maven",
    "namespace": "org.jenkins.plugin.templateWorkflows",
    "name": "template-workflows",
    "version": "41.v32d86a",
    "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/45377?format=api",
            "vulnerability_id": "VCID-bp1m-hbxe-z7ch",
            "summary": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')\nJenkins Template Workflows Plugin 41.v32d86a_313b_4a and earlier does not escape names of jobs used as buildings blocks for Template Workflow Job, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to create jobs.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2023-35146.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-35146.json"
                },
                {
                    "reference_url": "https://www.jenkins.io/security/advisory/2023-06-14/#SECURITY-3166",
                    "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://www.jenkins.io/security/advisory/2023-06-14/#SECURITY-3166"
                },
                {
                    "reference_url": "http://www.openwall.com/lists/oss-security/2023/06/14/5",
                    "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": "http://www.openwall.com/lists/oss-security/2023/06/14/5"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2215089",
                    "reference_id": "2215089",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2215089"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-35146",
                    "reference_id": "CVE-2023-35146",
                    "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-35146"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-62v2-xwh3-5gvx",
                    "reference_id": "GHSA-62v2-xwh3-5gvx",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-62v2-xwh3-5gvx"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2023-35146",
                "GHSA-62v2-xwh3-5gvx"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-bp1m-hbxe-z7ch"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "4.0",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins.plugin.templateWorkflows/template-workflows@41.v32d86a"
}