Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/57852?format=api",
    "vulnerability_id": "VCID-vqhy-hp3y-t3fw",
    "summary": "Malicious code in eslint-config-googlejs-es6 (npm)\nThis malicious package was published during the PhantomRaven NPM campaign. The malicious payload steals tokens and credentials.",
    "aliases": [
        {
            "alias": "MAL-2025-19830"
        }
    ],
    "fixed_packages": [],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/86095?format=api",
            "purl": "pkg:npm/eslint-config-googlejs-es6@0.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-vqhy-hp3y-t3fw"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/eslint-config-googlejs-es6@0.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/843022?format=api",
            "purl": "pkg:npm/eslint-config-googlejs-es6@0.0.1-security",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-vqhy-hp3y-t3fw"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/eslint-config-googlejs-es6@0.0.1-security"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/advisories/MAL-2025-19830",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/MAL-2025-19830"
        },
        {
            "reference_url": "https://www.koi.ai/blog/phantomraven-npm-malware-hidden-in-invisible-dependencies",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://www.koi.ai/blog/phantomraven-npm-malware-hidden-in-invisible-dependencies"
        }
    ],
    "weaknesses": [
        {
            "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": "0.5",
    "weighted_severity": "0.0",
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-vqhy-hp3y-t3fw"
}