Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37818?format=api",
    "vulnerability_id": "VCID-7mbc-nv1j-rudb",
    "summary": "Cross-site Scripting\nXSS injection in backoffice.",
    "aliases": [
        {
            "alias": "GMS-2015-76"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52194?format=api",
            "purl": "pkg:composer/thelia/backoffice-default-template@2.1.2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/thelia/backoffice-default-template@2.1.2"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52193?format=api",
            "purl": "pkg:composer/thelia/backoffice-default-template@2.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-7mbc-nv1j-rudb"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/thelia/backoffice-default-template@2.1.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://thelia.net/version-2-1-2-with-security-fix",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://thelia.net/version-2-1-2-with-security-fix"
        }
    ],
    "weaknesses": [],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-7mbc-nv1j-rudb"
}