Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/8130?format=api",
    "vulnerability_id": "VCID-b2j7-fedy-77g1",
    "summary": "Cross Site Scripting (XSS) in Quokka v0.4.0 allows remote attackers to execute arbitrary code via the 'Username' parameter in the component 'quokka/admin/actions.py'.",
    "aliases": [
        {
            "alias": "CVE-2020-18702"
        },
        {
            "alias": "GHSA-5m69-3chg-6f8m"
        },
        {
            "alias": "PYSEC-2021-143"
        }
    ],
    "fixed_packages": [],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57806?format=api",
            "purl": "pkg:pypi/quokka@0.4.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-b2j7-fedy-77g1"
                },
                {
                    "vulnerability": "VCID-sf4w-ajhm-ufgp"
                },
                {
                    "vulnerability": "VCID-ukym-6vnb-ufhh"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/quokka@0.4.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-18702",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00405",
                    "scoring_system": "epss",
                    "scoring_elements": "0.61312",
                    "published_at": "2026-05-30T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-18702"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-5m69-3chg-6f8m",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-5m69-3chg-6f8m"
        },
        {
            "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/quokka/PYSEC-2021-143.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/pypa/advisory-database/tree/main/vulns/quokka/PYSEC-2021-143.yaml"
        },
        {
            "reference_url": "https://github.com/rochacbruno/quokka",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/rochacbruno/quokka"
        },
        {
            "reference_url": "https://github.com/rochacbruno/quokka/issues/675",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/rochacbruno/quokka/issues/675"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-18702",
            "reference_id": "CVE-2020-18702",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-18702"
        }
    ],
    "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."
        },
        {
            "cwe_id": 937,
            "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."
        },
        {
            "cwe_id": 1035,
            "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."
        }
    ],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-b2j7-fedy-77g1"
}