Lookup for vulnerabilities affecting packages.

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

{
    "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.",
    "aliases": [
        {
            "alias": "CVE-2022-34176"
        },
        {
            "alias": "GHSA-64mj-3p92-589v"
        }
    ],
    "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"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/993838?format=api",
            "purl": "pkg:maven/org.jenkins-ci.plugins/junit@1119.va_a_5e9068da_d7",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-tt48-pfzv-mkgt"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.plugins/junit@1119.va_a_5e9068da_d7"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/98056?format=api",
            "purl": "pkg:rpm/redhat/jenkins-2-plugins@4.8.1672842762-1?arch=el8",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4qvq-xv22-xbed"
                },
                {
                    "vulnerability": "VCID-7ez2-n617-u3dq"
                },
                {
                    "vulnerability": "VCID-9h4k-xjx5-afc8"
                },
                {
                    "vulnerability": "VCID-c2jh-gx5w-mqcd"
                },
                {
                    "vulnerability": "VCID-ca7m-fb38-kfe2"
                },
                {
                    "vulnerability": "VCID-fzvq-dpvh-v7eu"
                },
                {
                    "vulnerability": "VCID-gxu6-51zm-sfh7"
                },
                {
                    "vulnerability": "VCID-hg91-mnh3-g3a4"
                },
                {
                    "vulnerability": "VCID-k6wy-rwhv-ckd2"
                },
                {
                    "vulnerability": "VCID-qsut-4d83-97h1"
                },
                {
                    "vulnerability": "VCID-rs56-6qvx-vucg"
                },
                {
                    "vulnerability": "VCID-tt48-pfzv-mkgt"
                },
                {
                    "vulnerability": "VCID-ubq1-gzr6-x3fu"
                },
                {
                    "vulnerability": "VCID-xq5k-dyk9-u3ct"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/jenkins-2-plugins@4.8.1672842762-1%3Farch=el8"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/98057?format=api",
            "purl": "pkg:rpm/redhat/jenkins-2-plugins@4.9.1667460322-1?arch=el8",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-hg91-mnh3-g3a4"
                },
                {
                    "vulnerability": "VCID-tt48-pfzv-mkgt"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/jenkins-2-plugins@4.9.1667460322-1%3Farch=el8"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/98371?format=api",
            "purl": "pkg:rpm/redhat/jenkins-2-plugins@4.10.1663147786-1?arch=el8",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-qsut-4d83-97h1"
                },
                {
                    "vulnerability": "VCID-tt48-pfzv-mkgt"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/jenkins-2-plugins@4.10.1663147786-1%3Farch=el8"
        }
    ],
    "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-16T12: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"
        }
    ],
    "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": 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": 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": "5.4 - 8.9",
    "exploitability": "0.5",
    "weighted_severity": "8.0",
    "risk_score": 4.0,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-tt48-pfzv-mkgt"
}