Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/47685?format=api",
    "vulnerability_id": "VCID-c27f-16tg-ffet",
    "summary": "Malicious code in @teselagen/range-utils (npm)\nThis package was compromised by the Shai-Hulud NPM worm.\nThe malicious payload steals tokens and credentials and publishes\nthem to GitHub before propogating itself to NPM packages the user owns.",
    "aliases": [
        {
            "alias": "GHSA-phvv-v6rp-jv5q"
        },
        {
            "alias": "MAL-2025-47276"
        }
    ],
    "fixed_packages": [],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/70237?format=api",
            "purl": "pkg:npm/%40teselagen/range-utils@0.3.14",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-c27f-16tg-ffet"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540teselagen/range-utils@0.3.14"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/70238?format=api",
            "purl": "pkg:npm/%40teselagen/range-utils@0.3.15",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-c27f-16tg-ffet"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540teselagen/range-utils@0.3.15"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/advisories/MAL-2025-47276",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/MAL-2025-47276"
        },
        {
            "reference_url": "https://semgrep.dev/blog/2025/security-advisory-npm-packages-using-secret-scanning-tools-to-steal-credentials/",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://semgrep.dev/blog/2025/security-advisory-npm-packages-using-secret-scanning-tools-to-steal-credentials/"
        },
        {
            "reference_url": "https://socket.dev/blog/tinycolor-supply-chain-attack-affects-40-packages",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://socket.dev/blog/tinycolor-supply-chain-attack-affects-40-packages"
        },
        {
            "reference_url": "https://www.aikido.dev/blog/s1ngularity-nx-attackers-strike-again",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://www.aikido.dev/blog/s1ngularity-nx-attackers-strike-again"
        },
        {
            "reference_url": "https://www.stepsecurity.io/blog/ctrl-tinycolor-and-40-npm-packages-compromised",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://www.stepsecurity.io/blog/ctrl-tinycolor-and-40-npm-packages-compromised"
        },
        {
            "reference_url": "https://www.wiz.io/blog/shai-hulud-npm-supply-chain-attack",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://www.wiz.io/blog/shai-hulud-npm-supply-chain-attack"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-phvv-v6rp-jv5q",
            "reference_id": "GHSA-phvv-v6rp-jv5q",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-phvv-v6rp-jv5q"
        }
    ],
    "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": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-c27f-16tg-ffet"
}