Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/319895?format=api",
    "vulnerability_id": "VCID-vydj-4uzb-rfe8",
    "summary": "An issue has been discovered in GitLab CE/EE affecting all versions from 17.9 before 17.10.8, 17.11 before 17.11.4, and 18.0 before 18.0.2. Improper output encoding in the snipper viewer functionality lead to Cross-Site scripting attacks.",
    "aliases": [
        {
            "alias": "CVE-2025-2254"
        }
    ],
    "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-2025-2254",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00099",
                    "scoring_system": "epss",
                    "scoring_elements": "0.27744",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00099",
                    "scoring_system": "epss",
                    "scoring_elements": "0.27706",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00099",
                    "scoring_system": "epss",
                    "scoring_elements": "0.27535",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00281",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51463",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.00281",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51502",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.00281",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51509",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.00281",
                    "scoring_system": "epss",
                    "scoring_elements": "0.5147",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.00281",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51414",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.00281",
                    "scoring_system": "epss",
                    "scoring_elements": "0.5151",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00281",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51508",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00281",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51551",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00281",
                    "scoring_system": "epss",
                    "scoring_elements": "0.5153",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00281",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51518",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00281",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51562",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00281",
                    "scoring_system": "epss",
                    "scoring_elements": "0.5157",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00281",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51549",
                    "published_at": "2026-04-21T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2025-2254"
        },
        {
            "reference_url": "https://hackerone.com/reports/2973939",
            "reference_id": "2973939",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.7",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2025-06-12T13:38:28Z/"
                }
            ],
            "url": "https://hackerone.com/reports/2973939"
        },
        {
            "reference_url": "https://gitlab.com/gitlab-org/gitlab/-/issues/524636",
            "reference_id": "524636",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.7",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2025-06-12T13:38:28Z/"
                }
            ],
            "url": "https://gitlab.com/gitlab-org/gitlab/-/issues/524636"
        },
        {
            "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:*:*:*:*:*:*:*:*"
        }
    ],
    "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": "8.7 - 8.7",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-vydj-4uzb-rfe8"
}