Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/56144?format=api",
    "purl": "pkg:pypi/products.passwordresettool@2.0.6",
    "type": "pypi",
    "namespace": "",
    "name": "products.passwordresettool",
    "version": "2.0.6",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2.0.6",
    "latest_non_vulnerable_version": "2.0.6",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/34734?format=api",
            "vulnerability_id": "VCID-uqe7-n3uh-zfac",
            "summary": "Cross-site scripting (XSS) vulnerability in Plone 4.1 and earlier allows remote attackers to inject arbitrary web script or HTML via a crafted URL.",
            "references": [
                {
                    "reference_url": "http://osvdb.org/72727",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://osvdb.org/72727"
                },
                {
                    "reference_url": "http://plone.org/products/plone/security/advisories/CVE-2011-1948",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://plone.org/products/plone/security/advisories/CVE-2011-1948"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2012:0151",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2012:0151"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=711494",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=711494"
                },
                {
                    "reference_url": "http://secunia.com/advisories/44775",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://secunia.com/advisories/44775"
                },
                {
                    "reference_url": "http://secunia.com/advisories/44776",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://secunia.com/advisories/44776"
                },
                {
                    "reference_url": "http://securityreason.com/securityalert/8269",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://securityreason.com/securityalert/8269"
                },
                {
                    "reference_url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/67693",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/67693"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/plone/PYSEC-2011-14.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/plone/PYSEC-2011-14.yaml"
                },
                {
                    "reference_url": "http://www.securityfocus.com/archive/1/518155/100/0/threaded",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/archive/1/518155/100/0/threaded"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/48005",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/48005"
                },
                {
                    "reference_url": "https://access.redhat.com/security/cve/CVE-2011-1948",
                    "reference_id": "CVE-2011-1948",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/security/cve/CVE-2011-1948"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2011-1948",
                    "reference_id": "CVE-2011-1948",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2011-1948"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-p7h9-vf92-5fj5",
                    "reference_id": "GHSA-p7h9-vf92-5fj5",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-p7h9-vf92-5fj5"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/56144?format=api",
                    "purl": "pkg:pypi/products.passwordresettool@2.0.6",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/products.passwordresettool@2.0.6"
                }
            ],
            "aliases": [
                "CVE-2011-1948",
                "GHSA-p7h9-vf92-5fj5",
                "PYSEC-2011-14"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-uqe7-n3uh-zfac"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/products.passwordresettool@2.0.6"
}