Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/265167?format=api",
    "vulnerability_id": "VCID-h2d4-85z3-rfe3",
    "summary": "Improper neutralization of user input in GitLab CE/EE versions 14.4 before 14.7.7, all versions starting from 14.8 before 14.8.5, all versions starting from 14.9 before 14.9.2 allowed an attacker to exploit XSS by injecting HTML in notes.",
    "aliases": [
        {
            "alias": "CVE-2022-1175"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/923289?format=api",
            "purl": "pkg:deb/debian/gitlab@15.10.8%2Bds1-2?distro=sid",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/gitlab@15.10.8%252Bds1-2%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-2022-1175",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.10323",
                    "scoring_system": "epss",
                    "scoring_elements": "0.93153",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.10323",
                    "scoring_system": "epss",
                    "scoring_elements": "0.93162",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.10323",
                    "scoring_system": "epss",
                    "scoring_elements": "0.93166",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.10323",
                    "scoring_system": "epss",
                    "scoring_elements": "0.93165",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.10323",
                    "scoring_system": "epss",
                    "scoring_elements": "0.93174",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.10323",
                    "scoring_system": "epss",
                    "scoring_elements": "0.93178",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.10323",
                    "scoring_system": "epss",
                    "scoring_elements": "0.93184",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.10323",
                    "scoring_system": "epss",
                    "scoring_elements": "0.93181",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.10323",
                    "scoring_system": "epss",
                    "scoring_elements": "0.93183",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.10323",
                    "scoring_system": "epss",
                    "scoring_elements": "0.93199",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.10323",
                    "scoring_system": "epss",
                    "scoring_elements": "0.93203",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.10323",
                    "scoring_system": "epss",
                    "scoring_elements": "0.93211",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.10323",
                    "scoring_system": "epss",
                    "scoring_elements": "0.93217",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.10323",
                    "scoring_system": "epss",
                    "scoring_elements": "0.93215",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.10323",
                    "scoring_system": "epss",
                    "scoring_elements": "0.9322",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.10323",
                    "scoring_system": "epss",
                    "scoring_elements": "0.93233",
                    "published_at": "2026-05-07T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-1175"
        },
        {
            "reference_url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/ruby/webapps/50889.txt",
            "reference_id": "CVE-2022-1175",
            "reference_type": "exploit",
            "scores": [],
            "url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/ruby/webapps/50889.txt"
        }
    ],
    "weaknesses": [],
    "exploits": [
        {
            "date_added": "2022-04-26",
            "description": "GitLab 14.9 - Stored Cross-Site Scripting (XSS)",
            "required_action": null,
            "due_date": null,
            "notes": null,
            "known_ransomware_campaign_use": false,
            "source_date_published": "2022-04-26",
            "exploit_type": "webapps",
            "platform": "ruby",
            "source_date_updated": "2022-05-11",
            "data_source": "Exploit-DB",
            "source_url": ""
        }
    ],
    "severity_range_score": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-h2d4-85z3-rfe3"
}