Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/39912?format=api",
    "vulnerability_id": "VCID-f53c-csbx-sfd7",
    "summary": "Improper Input Validation\nBy accessing the object constructors, un-sanitized user input can access the entire standard library and effectively break out of the sandbox.",
    "aliases": [
        {
            "alias": "CVE-2017-16088"
        },
        {
            "alias": "GHSA-ww6v-677g-p656"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/55756?format=api",
            "purl": "pkg:npm/safe-eval@0.4.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-pegh-rtxa-k7d6"
                },
                {
                    "vulnerability": "VCID-ywrn-mga5-uubt"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/safe-eval@0.4.0"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/55754?format=api",
            "purl": "pkg:npm/safe-eval@0.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-f53c-csbx-sfd7"
                },
                {
                    "vulnerability": "VCID-kng7-pxcx-vycx"
                },
                {
                    "vulnerability": "VCID-pegh-rtxa-k7d6"
                },
                {
                    "vulnerability": "VCID-ywrn-mga5-uubt"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/safe-eval@0.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/212715?format=api",
            "purl": "pkg:npm/safe-eval@0.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-f53c-csbx-sfd7"
                },
                {
                    "vulnerability": "VCID-kng7-pxcx-vycx"
                },
                {
                    "vulnerability": "VCID-pegh-rtxa-k7d6"
                },
                {
                    "vulnerability": "VCID-ywrn-mga5-uubt"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/safe-eval@0.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/212716?format=api",
            "purl": "pkg:npm/safe-eval@0.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-f53c-csbx-sfd7"
                },
                {
                    "vulnerability": "VCID-kng7-pxcx-vycx"
                },
                {
                    "vulnerability": "VCID-pegh-rtxa-k7d6"
                },
                {
                    "vulnerability": "VCID-ywrn-mga5-uubt"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/safe-eval@0.2.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/55755?format=api",
            "purl": "pkg:npm/safe-eval@0.3.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-f53c-csbx-sfd7"
                },
                {
                    "vulnerability": "VCID-kng7-pxcx-vycx"
                },
                {
                    "vulnerability": "VCID-pegh-rtxa-k7d6"
                },
                {
                    "vulnerability": "VCID-ywrn-mga5-uubt"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/safe-eval@0.3.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2017-16088",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.02058",
                    "scoring_system": "epss",
                    "scoring_elements": "0.8424",
                    "published_at": "2026-06-05T12:55:00Z"
                },
                {
                    "value": "0.02058",
                    "scoring_system": "epss",
                    "scoring_elements": "0.84216",
                    "published_at": "2026-06-04T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2017-16088"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-ww6v-677g-p656",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "10.0",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-ww6v-677g-p656"
        },
        {
            "reference_url": "https://github.com/hacksparrow/safe-eval/issues/5",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "10.0",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/hacksparrow/safe-eval/issues/5"
        },
        {
            "reference_url": "https://github.com/hacksparrow/safe-eval/pull/13",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "10.0",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/hacksparrow/safe-eval/pull/13"
        },
        {
            "reference_url": "https://github.com/patriksimek/vm2/issues/59",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "10.0",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/patriksimek/vm2/issues/59"
        },
        {
            "reference_url": "https://www.npmjs.com/advisories/337",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "10.0",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://www.npmjs.com/advisories/337"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-16088",
            "reference_id": "CVE-2017-16088",
            "reference_type": "",
            "scores": [
                {
                    "value": "10.0",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-16088"
        }
    ],
    "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": 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": 610,
            "name": "Externally Controlled Reference to a Resource in Another Sphere",
            "description": "The product uses an externally controlled name or reference that resolves to a resource that is outside of the intended control sphere."
        }
    ],
    "exploits": [],
    "severity_range_score": "9.0 - 10.0",
    "exploitability": "0.5",
    "weighted_severity": "9.0",
    "risk_score": 4.5,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-f53c-csbx-sfd7"
}