Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/52425?format=api",
    "purl": "pkg:composer/typo3/neos@2.0.0-alpha",
    "type": "composer",
    "namespace": "typo3",
    "name": "neos",
    "version": "2.0.0-alpha",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "2.0.4",
    "latest_non_vulnerable_version": "2.0.4",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37958?format=api",
            "vulnerability_id": "VCID-eyk1-hqju-cfc2",
            "summary": "XSS Vulnerabilities\nNeos is vulnerable to several XSS attacks. Through these vulnerabilities, an attacker could tamper with page rendering, redirect victims to a fake login page, or capture user credentials (such as cookies). With the potential backdoor upload an attacker could gain access to the server itself, to an extent mainly limited by the server setup.",
            "references": [
                {
                    "reference_url": "https://www.neos.io/news/neos-sa-2015-002.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.neos.io/news/neos-sa-2015-002.html"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/52421?format=api",
                    "purl": "pkg:composer/typo3/neos@2.0.4",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/typo3/neos@2.0.4"
                }
            ],
            "aliases": [
                "GMS-2015-46"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-eyk1-hqju-cfc2"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/typo3/neos@2.0.0-alpha"
}