Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/81649?format=api",
    "purl": "pkg:maven/org.jenkins-ci.plugins/junit@1119.1121.vc43d0fc45561",
    "type": "maven",
    "namespace": "org.jenkins-ci.plugins",
    "name": "junit",
    "version": "1119.1121.vc43d0fc45561",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "1160.vf1f01a_a_ea_b_7f",
    "latest_non_vulnerable_version": "1166.1168.vd6b_8042a_06de",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/54247?format=api",
            "vulnerability_id": "VCID-tt48-pfzv-mkgt",
            "summary": "Cross-site Scripting in Jenkins JUnit Plugin\nJUnit Plugin 1119.va_a_5e9068da_d7 and earlier does not escape descriptions of test results.\n\nThis results in a stored cross-site scripting (XSS) vulnerability exploitable by attackers with Run/Update permission.\n\nJUnit Plugin 1119.1121.vc43d0fc45561 applies the configured markup formatter to descriptions of test results.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-34176.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.4",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/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-2022-34176.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-34176",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.5595",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98103",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.5595",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98102",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.5595",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98106",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.5595",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98104",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.5595",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98099",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.61912",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98329",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.61912",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98331",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.61912",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98334",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.61912",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98339",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.61912",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98342",
                            "published_at": "2026-04-12T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-34176"
                },
                {
                    "reference_url": "https://github.com/jenkinsci/junit-plugin",
                    "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://github.com/jenkinsci/junit-plugin"
                },
                {
                    "reference_url": "https://github.com/jenkinsci/junit-plugin/commit/c43d0fc455619dd652ec87939ac3d70d6134fea1",
                    "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://github.com/jenkinsci/junit-plugin/commit/c43d0fc455619dd652ec87939ac3d70d6134fea1"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-34176",
                    "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://nvd.nist.gov/vuln/detail/CVE-2022-34176"
                },
                {
                    "reference_url": "https://www.jenkins.io/security/advisory/2022-06-22/#SECURITY-2760",
                    "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/2022-06-22/#SECURITY-2760"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2103548",
                    "reference_id": "2103548",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2103548"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-64mj-3p92-589v",
                    "reference_id": "GHSA-64mj-3p92-589v",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-64mj-3p92-589v"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2022:6531",
                    "reference_id": "RHSA-2022:6531",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2022:6531"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2023:0017",
                    "reference_id": "RHSA-2023:0017",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2023:0017"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/81649?format=api",
                    "purl": "pkg:maven/org.jenkins-ci.plugins/junit@1119.1121.vc43d0fc45561",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.plugins/junit@1119.1121.vc43d0fc45561"
                }
            ],
            "aliases": [
                "CVE-2022-34176",
                "GHSA-64mj-3p92-589v"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-tt48-pfzv-mkgt"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.plugins/junit@1119.1121.vc43d0fc45561"
}