Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/338977?format=api",
    "vulnerability_id": "VCID-6qcm-yqpn-k3ax",
    "summary": "An issue has been discovered in GitLab CE/EE affecting all versions from 18.1 before 18.1.4, and 18.2 before 18.2.2 that could have allowed authenticated users to achieve account takeover by injecting malicious HTML into work item names.",
    "aliases": [
        {
            "alias": "CVE-2025-6186"
        }
    ],
    "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-6186",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00049",
                    "scoring_system": "epss",
                    "scoring_elements": "0.15406",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00049",
                    "scoring_system": "epss",
                    "scoring_elements": "0.15476",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00049",
                    "scoring_system": "epss",
                    "scoring_elements": "0.15279",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00049",
                    "scoring_system": "epss",
                    "scoring_elements": "0.15368",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00049",
                    "scoring_system": "epss",
                    "scoring_elements": "0.15418",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00049",
                    "scoring_system": "epss",
                    "scoring_elements": "0.15379",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00049",
                    "scoring_system": "epss",
                    "scoring_elements": "0.1534",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00049",
                    "scoring_system": "epss",
                    "scoring_elements": "0.15275",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00049",
                    "scoring_system": "epss",
                    "scoring_elements": "0.15189",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00054",
                    "scoring_system": "epss",
                    "scoring_elements": "0.16684",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.00054",
                    "scoring_system": "epss",
                    "scoring_elements": "0.16761",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00054",
                    "scoring_system": "epss",
                    "scoring_elements": "0.16794",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.00054",
                    "scoring_system": "epss",
                    "scoring_elements": "0.16699",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.00073",
                    "scoring_system": "epss",
                    "scoring_elements": "0.21901",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.00073",
                    "scoring_system": "epss",
                    "scoring_elements": "0.21996",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.00073",
                    "scoring_system": "epss",
                    "scoring_elements": "0.21974",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.00082",
                    "scoring_system": "epss",
                    "scoring_elements": "0.23813",
                    "published_at": "2026-05-09T12:55:00Z"
                },
                {
                    "value": "0.00082",
                    "scoring_system": "epss",
                    "scoring_elements": "0.23759",
                    "published_at": "2026-05-11T12:55:00Z"
                },
                {
                    "value": "0.00082",
                    "scoring_system": "epss",
                    "scoring_elements": "0.23779",
                    "published_at": "2026-05-12T12:55:00Z"
                },
                {
                    "value": "0.00082",
                    "scoring_system": "epss",
                    "scoring_elements": "0.2387",
                    "published_at": "2026-05-14T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2025-6186"
        },
        {
            "reference_url": "https://hackerone.com/reports/3189522",
            "reference_id": "3189522",
            "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:P/P:M/B:A/M:M/D:T/2025-08-13T20:36:42Z/"
                }
            ],
            "url": "https://hackerone.com/reports/3189522"
        },
        {
            "reference_url": "https://gitlab.com/gitlab-org/gitlab/-/issues/549844",
            "reference_id": "549844",
            "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:P/P:M/B:A/M:M/D:T/2025-08-13T20:36:42Z/"
                }
            ],
            "url": "https://gitlab.com/gitlab-org/gitlab/-/issues/549844"
        },
        {
            "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-6qcm-yqpn-k3ax"
}