Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/8349?format=api",
    "purl": "pkg:pypi/djblets@0.6.11",
    "type": "pypi",
    "namespace": "",
    "name": "djblets",
    "version": "0.6.11",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "0.7.30",
    "latest_non_vulnerable_version": "0.8.3",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/34888?format=api",
            "vulnerability_id": "VCID-4x66-88fj-mbg6",
            "summary": "Cross-site scripting (XSS) vulnerability in gravatars/templatetags/gravatars.py in Djblets before 0.7.30 and 0.8.x before 0.8.3 for Django allows remote attackers to inject arbitrary web script or HTML via a user display name.",
            "references": [
                {
                    "reference_url": "http://seclists.org/oss-sec/2014/q2/494",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://seclists.org/oss-sec/2014/q2/494"
                },
                {
                    "reference_url": "http://seclists.org/oss-sec/2014/q2/498",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://seclists.org/oss-sec/2014/q2/498"
                },
                {
                    "reference_url": "http://secunia.com/advisories/58691",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://secunia.com/advisories/58691"
                },
                {
                    "reference_url": "https://github.com/djblets/djblets/commit/50000d0bbb983fa8c097b588d06b64df8df483bd",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/djblets/djblets/commit/50000d0bbb983fa8c097b588d06b64df8df483bd"
                },
                {
                    "reference_url": "https://github.com/djblets/djblets/commit/77ac64642ad530bf69e390c51fc6fdcb8914c8e7",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/djblets/djblets/commit/77ac64642ad530bf69e390c51fc6fdcb8914c8e7"
                },
                {
                    "reference_url": "https://github.com/djblets/djblets/commit/e2c79117efd925636acd871a5f473512602243cf",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/djblets/djblets/commit/e2c79117efd925636acd871a5f473512602243cf"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/8403?format=api",
                    "purl": "pkg:pypi/djblets@0.7.30",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/djblets@0.7.30"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/8404?format=api",
                    "purl": "pkg:pypi/djblets@0.8.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/djblets@0.8.3"
                }
            ],
            "aliases": [
                "CVE-2014-3995",
                "PYSEC-2014-79"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-4x66-88fj-mbg6"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/34887?format=api",
            "vulnerability_id": "VCID-7yvz-bm2e-gkfj",
            "summary": "Cross-site scripting (XSS) vulnerability in util/templatetags/djblets_js.py in Djblets before 0.7.30 and 0.8.x before 0.8.3 for Django, as used in Review Board, allows remote attackers to inject arbitrary web script or HTML via a JSON object, as demonstrated by the name field when changing a user name.",
            "references": [
                {
                    "reference_url": "https://code.google.com/p/reviewboard/issues/detail?id=3406",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://code.google.com/p/reviewboard/issues/detail?id=3406"
                },
                {
                    "reference_url": "http://seclists.org/oss-sec/2014/q2/494",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://seclists.org/oss-sec/2014/q2/494"
                },
                {
                    "reference_url": "http://seclists.org/oss-sec/2014/q2/498",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://seclists.org/oss-sec/2014/q2/498"
                },
                {
                    "reference_url": "http://secunia.com/advisories/58691",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://secunia.com/advisories/58691"
                },
                {
                    "reference_url": "https://github.com/djblets/djblets/commit/50000d0bbb983fa8c097b588d06b64df8df483bd",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/djblets/djblets/commit/50000d0bbb983fa8c097b588d06b64df8df483bd"
                },
                {
                    "reference_url": "https://github.com/djblets/djblets/commit/77a68c03cd619a0996f3f37337b8c39ca6643d6e",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/djblets/djblets/commit/77a68c03cd619a0996f3f37337b8c39ca6643d6e"
                },
                {
                    "reference_url": "https://github.com/djblets/djblets/commit/e2c79117efd925636acd871a5f473512602243cf",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/djblets/djblets/commit/e2c79117efd925636acd871a5f473512602243cf"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/67932",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/67932"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/8403?format=api",
                    "purl": "pkg:pypi/djblets@0.7.30",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/djblets@0.7.30"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/8404?format=api",
                    "purl": "pkg:pypi/djblets@0.8.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/djblets@0.8.3"
                }
            ],
            "aliases": [
                "CVE-2014-3994",
                "PYSEC-2014-78"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-7yvz-bm2e-gkfj"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/djblets@0.6.11"
}