Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/43859?format=api",
    "vulnerability_id": "VCID-5hvv-t8ka-rfbk",
    "summary": "WSO2 Carbon vulnerable to Cross-site Scripting\nMultiple cross-site scripting (XSS) vulnerabilities in WSO2 Carbon 4.4.5 allow remote attackers to inject arbitrary web script or HTML via the (1) setName parameter to identity-mgt/challenges-mgt.jsp; the (2) webappType or (3) httpPort parameter to webapp-list/webapp_info.jsp; the (4) dsName or (5) description parameter to ndatasource/newdatasource.jsp; the (6) phase parameter to viewflows/handlers.jsp; or the (7) url parameter to ndatasource/validateconnection-ajaxprocessor.jsp.",
    "aliases": [
        {
            "alias": "CVE-2016-4316"
        },
        {
            "alias": "GHSA-2vcm-2mcr-wmx7"
        }
    ],
    "fixed_packages": [],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/63048?format=api",
            "purl": "pkg:maven/org.wso2.carbon.commons/org.wso2.carbon.messageflows.ui@4.4.5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5hvv-t8ka-rfbk"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.wso2.carbon.commons/org.wso2.carbon.messageflows.ui@4.4.5"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/63228?format=api",
            "purl": "pkg:maven/org.wso2.carbon.commons/org.wso2.carbon.ndatasource.ui@4.4.5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5hvv-t8ka-rfbk"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.wso2.carbon.commons/org.wso2.carbon.ndatasource.ui@4.4.5"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/63007?format=api",
            "purl": "pkg:maven/org.wso2.carbon.identity.framework/org.wso2.carbon.identity.mgt.ui@4.4.5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5hvv-t8ka-rfbk"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.wso2.carbon.identity.framework/org.wso2.carbon.identity.mgt.ui@4.4.5"
        }
    ],
    "references": [
        {
            "reference_url": "https://web.archive.org/web/20201207111805/http://www.securityfocus.com/archive/1/539201/100/0/threaded",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://web.archive.org/web/20201207111805/http://www.securityfocus.com/archive/1/539201/100/0/threaded"
        },
        {
            "reference_url": "https://www.exploit-db.com/exploits/40241",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://www.exploit-db.com/exploits/40241"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2016-4316",
            "reference_id": "CVE-2016-4316",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2016-4316"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-2vcm-2mcr-wmx7",
            "reference_id": "GHSA-2vcm-2mcr-wmx7",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-2vcm-2mcr-wmx7"
        }
    ],
    "weaknesses": [
        {
            "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."
        },
        {
            "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."
        }
    ],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-5hvv-t8ka-rfbk"
}