Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/256820?format=api",
    "vulnerability_id": "VCID-z8r2-3th4-uuag",
    "summary": "Improper neutralization of user input in GitLab CE/EE versions 14.3 to 14.3.6, 14.4 to 14.4.4, and 14.5 to 14.5.2 allowed an attacker to exploit XSS by abusing the generation of the HTML code related to emojis",
    "aliases": [
        {
            "alias": "CVE-2021-39946"
        }
    ],
    "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-2021-39946",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00185",
                    "scoring_system": "epss",
                    "scoring_elements": "0.40078",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.00185",
                    "scoring_system": "epss",
                    "scoring_elements": "0.40227",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00185",
                    "scoring_system": "epss",
                    "scoring_elements": "0.40251",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00185",
                    "scoring_system": "epss",
                    "scoring_elements": "0.40174",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00185",
                    "scoring_system": "epss",
                    "scoring_elements": "0.40226",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00185",
                    "scoring_system": "epss",
                    "scoring_elements": "0.40238",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00185",
                    "scoring_system": "epss",
                    "scoring_elements": "0.40249",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00185",
                    "scoring_system": "epss",
                    "scoring_elements": "0.40211",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00185",
                    "scoring_system": "epss",
                    "scoring_elements": "0.40192",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00185",
                    "scoring_system": "epss",
                    "scoring_elements": "0.40241",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00185",
                    "scoring_system": "epss",
                    "scoring_elements": "0.40134",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.00185",
                    "scoring_system": "epss",
                    "scoring_elements": "0.39961",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.00185",
                    "scoring_system": "epss",
                    "scoring_elements": "0.39946",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.00185",
                    "scoring_system": "epss",
                    "scoring_elements": "0.39866",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.00185",
                    "scoring_system": "epss",
                    "scoring_elements": "0.39737",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.00185",
                    "scoring_system": "epss",
                    "scoring_elements": "0.39802",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.00185",
                    "scoring_system": "epss",
                    "scoring_elements": "0.39822",
                    "published_at": "2026-05-09T12:55:00Z"
                },
                {
                    "value": "0.00185",
                    "scoring_system": "epss",
                    "scoring_elements": "0.39738",
                    "published_at": "2026-05-11T12:55:00Z"
                },
                {
                    "value": "0.00185",
                    "scoring_system": "epss",
                    "scoring_elements": "0.39762",
                    "published_at": "2026-05-12T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-39946"
        }
    ],
    "weaknesses": [],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-z8r2-3th4-uuag"
}