Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/188138?format=api",
    "vulnerability_id": "VCID-kv3d-2k6f-z3db",
    "summary": "An issue has been discovered in GitLab CE/EE affecting all versions from 17.3 before 17.3.7, 17.4 before 17.4.4, and 17.5 before 17.5.2. Improper output encoding could lead to XSS if CSP is not enabled.",
    "aliases": [
        {
            "alias": "CVE-2024-8180"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/923256?format=api",
            "purl": "pkg:deb/debian/gitlab@0?distro=sid",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/gitlab@0%3Fdistro=sid"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/923255?format=api",
            "purl": "pkg:deb/debian/gitlab@17.6.5-19?distro=sid",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/gitlab@17.6.5-19%3Fdistro=sid"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2024-8180",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.02943",
                    "scoring_system": "epss",
                    "scoring_elements": "0.86403",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.02943",
                    "scoring_system": "epss",
                    "scoring_elements": "0.86386",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.03053",
                    "scoring_system": "epss",
                    "scoring_elements": "0.86731",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.03053",
                    "scoring_system": "epss",
                    "scoring_elements": "0.86739",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.03053",
                    "scoring_system": "epss",
                    "scoring_elements": "0.86714",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.03053",
                    "scoring_system": "epss",
                    "scoring_elements": "0.8672",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.03944",
                    "scoring_system": "epss",
                    "scoring_elements": "0.88318",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.03944",
                    "scoring_system": "epss",
                    "scoring_elements": "0.88338",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.03944",
                    "scoring_system": "epss",
                    "scoring_elements": "0.88344",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.03944",
                    "scoring_system": "epss",
                    "scoring_elements": "0.88355",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.03944",
                    "scoring_system": "epss",
                    "scoring_elements": "0.88346",
                    "published_at": "2026-04-13T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2024-8180"
        },
        {
            "reference_url": "https://hackerone.com/reports/2654010",
            "reference_id": "2654010",
            "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": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-11-14T18:53:46Z/"
                }
            ],
            "url": "https://hackerone.com/reports/2654010"
        },
        {
            "reference_url": "https://gitlab.com/gitlab-org/gitlab/-/issues/480720",
            "reference_id": "480720",
            "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": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-11-14T18:53:46Z/"
                }
            ],
            "url": "https://gitlab.com/gitlab-org/gitlab/-/issues/480720"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*",
            "reference_id": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*"
        },
        {
            "reference_url": "https://about.gitlab.com/releases/2024/11/13/patch-release-gitlab-17-5-2-released/#html-injection-in-vulnerability-code-flow-could-lead-to-xss-on-self-hosted-instances",
            "reference_id": "#html-injection-in-vulnerability-code-flow-could-lead-to-xss-on-self-hosted-instances",
            "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": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-11-14T18:53:46Z/"
                }
            ],
            "url": "https://about.gitlab.com/releases/2024/11/13/patch-release-gitlab-17-5-2-released/#html-injection-in-vulnerability-code-flow-could-lead-to-xss-on-self-hosted-instances"
        }
    ],
    "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."
        }
    ],
    "exploits": [],
    "severity_range_score": "5.4 - 5.4",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-kv3d-2k6f-z3db"
}