Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/30599?format=api",
    "vulnerability_id": "VCID-52kv-7p56-5kcf",
    "summary": "[sexstatic] HTML injection in directory name(s) leads to Stored XSS when malicious file is embed with <iframe> element used in directory name",
    "aliases": [
        {
            "alias": "CVE-2018-3755"
        }
    ],
    "fixed_packages": [],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/55530?format=api",
            "purl": "pkg:npm/sexstatic@0.6.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-52kv-7p56-5kcf"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/sexstatic@0.6.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/6660?format=api",
            "purl": "pkg:npm/sexstatic@0.6.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-52kv-7p56-5kcf"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/sexstatic@0.6.2"
        }
    ],
    "references": [
        {
            "reference_url": "https://hackerone.com/reports/328210",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.2",
                    "scoring_system": "cvssv3",
                    "scoring_elements": ""
                }
            ],
            "url": "https://hackerone.com/reports/328210"
        },
        {
            "reference_url": "https://github.com/nodejs/security-wg/blob/main/vuln/npm/437.json",
            "reference_id": "437",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.2",
                    "scoring_system": "cvssv3",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/nodejs/security-wg/blob/main/vuln/npm/437.json"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-3755",
            "reference_id": "CVE-2018-3755",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-3755"
        }
    ],
    "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": "5.2 - 5.2",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-52kv-7p56-5kcf"
}