Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37249?format=api",
    "vulnerability_id": "VCID-55pq-1wqc-skas",
    "summary": "Cross-Site Scripting\nDjango-Rest-Framework, before 3.9.1, has a XSS vulnerability caused by disabled autoescaping in the default DRF Browsable API view templates.",
    "aliases": [
        {
            "alias": "GHSA-57h7-r3q3-w57j"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/13563?format=api",
            "purl": "pkg:pypi/djangorestframework@3.9.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-az5u-1a5w-9ffa"
                },
                {
                    "vulnerability": "VCID-exen-v4sg-mudc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/djangorestframework@3.9.1"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://github.com/encode/django-rest-framework/commit/343ce4a03cad02631752a5e9bde26218fd647c14",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/encode/django-rest-framework/commit/343ce4a03cad02631752a5e9bde26218fd647c14"
        },
        {
            "reference_url": "https://github.com/encode/django-rest-framework/commit/75a489150ae24c2f3c794104a8e98fa43e2c9ce9",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/encode/django-rest-framework/commit/75a489150ae24c2f3c794104a8e98fa43e2c9ce9"
        },
        {
            "reference_url": "https://github.com/encode/django-rest-framework/pull/6330",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/encode/django-rest-framework/pull/6330"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-57h7-r3q3-w57j",
            "reference_id": "GHSA-57h7-r3q3-w57j",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-57h7-r3q3-w57j"
        }
    ],
    "weaknesses": [],
    "exploits": [],
    "severity_range_score": "4.0 - 6.9",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-55pq-1wqc-skas"
}