Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/166013?format=api",
    "vulnerability_id": "VCID-44sb-6uzy-3be8",
    "summary": "Jenkins JUnit Plugin 1159.v0b_396e1e07dd and earlier converts HTTP(S) URLs in test report output to clickable links in an unsafe manner, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers with Item/Configure permission.",
    "aliases": [
        {
            "alias": "CVE-2022-45380"
        },
        {
            "alias": "GHSA-298r-5c48-7q2r"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/27897?format=api",
            "purl": "pkg:maven/org.jenkins-ci.plugins/junit@1160.vf1f01a_a_ea_b_7f",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.plugins/junit@1160.vf1f01a_a_ea_b_7f"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/27896?format=api",
            "purl": "pkg:maven/org.jenkins-ci.plugins/junit@1159.v0b",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-44sb-6uzy-3be8"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.plugins/junit@1159.v0b"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/338945?format=api",
            "purl": "pkg:rpm/redhat/jenkins-2-plugins@4.9.1675668922-1?arch=el8",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1hvx-2h1t-n7hj"
                },
                {
                    "vulnerability": "VCID-24zg-76th-b7a9"
                },
                {
                    "vulnerability": "VCID-282p-1cbn-1ydr"
                },
                {
                    "vulnerability": "VCID-2ef9-4t7c-9kd6"
                },
                {
                    "vulnerability": "VCID-2gbh-nhbd-vyb3"
                },
                {
                    "vulnerability": "VCID-44sb-6uzy-3be8"
                },
                {
                    "vulnerability": "VCID-6edu-x9e7-mqg4"
                },
                {
                    "vulnerability": "VCID-6fdz-pavg-uydu"
                },
                {
                    "vulnerability": "VCID-79jf-4v34-5feg"
                },
                {
                    "vulnerability": "VCID-8drq-ax12-d7h5"
                },
                {
                    "vulnerability": "VCID-f9a3-vz93-zqcq"
                },
                {
                    "vulnerability": "VCID-kshy-a9qd-9ue3"
                },
                {
                    "vulnerability": "VCID-pae5-c62h-q7a9"
                },
                {
                    "vulnerability": "VCID-pe9e-5tw4-rfbf"
                },
                {
                    "vulnerability": "VCID-r8x8-fygj-77bn"
                },
                {
                    "vulnerability": "VCID-udcj-gpwk-uudj"
                },
                {
                    "vulnerability": "VCID-vftd-1z64-mba7"
                },
                {
                    "vulnerability": "VCID-vm4d-svqb-dfh6"
                },
                {
                    "vulnerability": "VCID-vyvx-hyzd-zkan"
                },
                {
                    "vulnerability": "VCID-wbwg-kc2b-4qhc"
                },
                {
                    "vulnerability": "VCID-xsy5-wuvz-juh6"
                },
                {
                    "vulnerability": "VCID-yw72-1mwb-bqdc"
                },
                {
                    "vulnerability": "VCID-zpc9-qmnr-ckga"
                },
                {
                    "vulnerability": "VCID-zwkg-gh5x-t7a4"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/jenkins-2-plugins@4.9.1675668922-1%3Farch=el8"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/338944?format=api",
            "purl": "pkg:rpm/redhat/jenkins-2-plugins@4.10.1675144701-1?arch=el8",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1hvx-2h1t-n7hj"
                },
                {
                    "vulnerability": "VCID-24zg-76th-b7a9"
                },
                {
                    "vulnerability": "VCID-282p-1cbn-1ydr"
                },
                {
                    "vulnerability": "VCID-2ef9-4t7c-9kd6"
                },
                {
                    "vulnerability": "VCID-2gbh-nhbd-vyb3"
                },
                {
                    "vulnerability": "VCID-44sb-6uzy-3be8"
                },
                {
                    "vulnerability": "VCID-6edu-x9e7-mqg4"
                },
                {
                    "vulnerability": "VCID-6fdz-pavg-uydu"
                },
                {
                    "vulnerability": "VCID-79jf-4v34-5feg"
                },
                {
                    "vulnerability": "VCID-8drq-ax12-d7h5"
                },
                {
                    "vulnerability": "VCID-f9a3-vz93-zqcq"
                },
                {
                    "vulnerability": "VCID-kshy-a9qd-9ue3"
                },
                {
                    "vulnerability": "VCID-pae5-c62h-q7a9"
                },
                {
                    "vulnerability": "VCID-pe9e-5tw4-rfbf"
                },
                {
                    "vulnerability": "VCID-r8x8-fygj-77bn"
                },
                {
                    "vulnerability": "VCID-udcj-gpwk-uudj"
                },
                {
                    "vulnerability": "VCID-vftd-1z64-mba7"
                },
                {
                    "vulnerability": "VCID-vm4d-svqb-dfh6"
                },
                {
                    "vulnerability": "VCID-vyvx-hyzd-zkan"
                },
                {
                    "vulnerability": "VCID-wbwg-kc2b-4qhc"
                },
                {
                    "vulnerability": "VCID-xsy5-wuvz-juh6"
                },
                {
                    "vulnerability": "VCID-yw72-1mwb-bqdc"
                },
                {
                    "vulnerability": "VCID-zwkg-gh5x-t7a4"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/jenkins-2-plugins@4.10.1675144701-1%3Farch=el8"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-45380.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-2022-45380.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-45380",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.02201",
                    "scoring_system": "epss",
                    "scoring_elements": "0.84841",
                    "published_at": "2026-06-14T12:55:00Z"
                },
                {
                    "value": "0.02201",
                    "scoring_system": "epss",
                    "scoring_elements": "0.84848",
                    "published_at": "2026-06-13T12:55:00Z"
                },
                {
                    "value": "0.02201",
                    "scoring_system": "epss",
                    "scoring_elements": "0.8484",
                    "published_at": "2026-06-12T12:55:00Z"
                },
                {
                    "value": "0.02201",
                    "scoring_system": "epss",
                    "scoring_elements": "0.84788",
                    "published_at": "2026-06-11T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-45380"
        },
        {
            "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/f1f01aaeab7fa35017112f6163b89283390f5da8",
            "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/f1f01aaeab7fa35017112f6163b89283390f5da8"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2143086",
            "reference_id": "2143086",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2143086"
        },
        {
            "reference_url": "http://www.openwall.com/lists/oss-security/2022/11/15/4",
            "reference_id": "4",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.4",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "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": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-04-30T14:11:41Z/"
                }
            ],
            "url": "http://www.openwall.com/lists/oss-security/2022/11/15/4"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-45380",
            "reference_id": "CVE-2022-45380",
            "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-45380"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-298r-5c48-7q2r",
            "reference_id": "GHSA-298r-5c48-7q2r",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-298r-5c48-7q2r"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2023:0560",
            "reference_id": "RHSA-2023:0560",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2023:0560"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2023:0777",
            "reference_id": "RHSA-2023:0777",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2023:0777"
        },
        {
            "reference_url": "https://www.jenkins.io/security/advisory/2022-11-15/#SECURITY-2888",
            "reference_id": "#SECURITY-2888",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.4",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "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": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-04-30T14:11:41Z/"
                }
            ],
            "url": "https://www.jenkins.io/security/advisory/2022-11-15/#SECURITY-2888"
        }
    ],
    "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-44sb-6uzy-3be8"
}