Lookup for vulnerabilities affecting packages.

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

{
    "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.",
    "aliases": [
        {
            "alias": "CVE-2013-5855"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51922?format=api",
            "purl": "pkg:maven/com.sun.faces/jsf-impl@2.2.6",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.sun.faces/jsf-impl@2.2.6"
        },
        {
            "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"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51927?format=api",
            "purl": "pkg:maven/org.glassfish/javax.faces@2.2.6",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.glassfish/javax.faces@2.2.6"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51638?format=api",
            "purl": "pkg:maven/com.sun.faces/jsf-impl@2-alpha0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5xv3-mdjm-g3f8"
                },
                {
                    "vulnerability": "VCID-nvdw-ajxm-eub4"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.sun.faces/jsf-impl@2-alpha0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51921?format=api",
            "purl": "pkg:maven/com.sun.faces/jsf-impl@2.2.5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5xv3-mdjm-g3f8"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.sun.faces/jsf-impl@2.2.5"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51923?format=api",
            "purl": "pkg:maven/javax.faces/jsf-impl@1.2_03",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5xv3-mdjm-g3f8"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/javax.faces/jsf-impl@1.2_03"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51925?format=api",
            "purl": "pkg:maven/org.glassfish/javax.faces@2-alpha0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5xv3-mdjm-g3f8"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.glassfish/javax.faces@2-alpha0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51926?format=api",
            "purl": "pkg:maven/org.glassfish/javax.faces@2.2.5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5xv3-mdjm-g3f8"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.glassfish/javax.faces@2.2.5"
        }
    ],
    "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"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 1035,
            "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."
        },
        {
            "cwe_id": 79,
            "name": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')",
            "description": "The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users."
        },
        {
            "cwe_id": 937,
            "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."
        }
    ],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-5xv3-mdjm-g3f8"
}