Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/213406?format=api",
    "vulnerability_id": "VCID-1ej8-vd35-g7cy",
    "summary": "GitLab 12.1 through 12.8.1 allows XSS. The merge request submission form was determined to have a stored cross-site scripting vulnerability.",
    "aliases": [
        {
            "alias": "CVE-2020-10078"
        }
    ],
    "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://about.gitlab.com/releases/2020/03/04/gitlab-12-dot-8-dot-2-released/",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://about.gitlab.com/releases/2020/03/04/gitlab-12-dot-8-dot-2-released/"
        },
        {
            "reference_url": "https://about.gitlab.com/releases/2020/03/04/gitlab-12-dot-8-dot-2-released/index.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://about.gitlab.com/releases/2020/03/04/gitlab-12-dot-8-dot-2-released/index.html"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-10078",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.001",
                    "scoring_system": "epss",
                    "scoring_elements": "0.2752",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.001",
                    "scoring_system": "epss",
                    "scoring_elements": "0.27627",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.001",
                    "scoring_system": "epss",
                    "scoring_elements": "0.27836",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.001",
                    "scoring_system": "epss",
                    "scoring_elements": "0.27887",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.001",
                    "scoring_system": "epss",
                    "scoring_elements": "0.27928",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.001",
                    "scoring_system": "epss",
                    "scoring_elements": "0.27721",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.001",
                    "scoring_system": "epss",
                    "scoring_elements": "0.27789",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.001",
                    "scoring_system": "epss",
                    "scoring_elements": "0.27831",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.001",
                    "scoring_system": "epss",
                    "scoring_elements": "0.27795",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.001",
                    "scoring_system": "epss",
                    "scoring_elements": "0.27738",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.001",
                    "scoring_system": "epss",
                    "scoring_elements": "0.27744",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.001",
                    "scoring_system": "epss",
                    "scoring_elements": "0.27719",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.001",
                    "scoring_system": "epss",
                    "scoring_elements": "0.27679",
                    "published_at": "2026-04-21T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-10078"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
            "reference_id": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
            "reference_id": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-10078",
            "reference_id": "CVE-2020-10078",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.3",
                    "scoring_system": "cvssv2",
                    "scoring_elements": "AV:N/AC:M/Au:N/C:N/I:P/A:N"
                },
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-10078"
        }
    ],
    "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": "4.3 - 6.1",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-1ej8-vd35-g7cy"
}