Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/51924?format=api",
    "purl": "pkg:maven/javax.faces/jsf-impl@2.0.0",
    "type": "maven",
    "namespace": "javax.faces",
    "name": "jsf-impl",
    "version": "2.0.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2.0.0",
    "latest_non_vulnerable_version": "2.0.0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37726?format=api",
            "vulnerability_id": "VCID-5xv3-mdjm-g3f8",
            "summary": "XSS due to insufficient escaping of user-supplied content in outputText tags and EL expressions\nThis package does not perform appropriate encoding when a `<h:outputText>` tag or EL expression is used after a scriptor style block, which allows remote attackers to conduct cross-site scripting (XSS) attacks via application-specific vectors.",
            "references": [
                {
                    "reference_url": "http://h30499.www3.hp.com/t5/HP-Security-Research-Blog/JSF-outputText-tag-the-good-the-bad-and-the-ugly/bc-p/6370209",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://h30499.www3.hp.com/t5/HP-Security-Research-Blog/JSF-outputText-tag-the-good-the-bad-and-the-ugly/bc-p/6370209"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2013-5855",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2013-5855"
                },
                {
                    "reference_url": "https://java.net/jira/browse/JAVASERVERFACES-3150",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://java.net/jira/browse/JAVASERVERFACES-3150"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/51924?format=api",
                    "purl": "pkg:maven/javax.faces/jsf-impl@2.0.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/javax.faces/jsf-impl@2.0.0"
                }
            ],
            "aliases": [
                "CVE-2013-5855"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-5xv3-mdjm-g3f8"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/javax.faces/jsf-impl@2.0.0"
}