Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/74427?format=api",
    "purl": "pkg:npm/svgo@4.0.0",
    "type": "npm",
    "namespace": "",
    "name": "svgo",
    "version": "4.0.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "4.0.1",
    "latest_non_vulnerable_version": "4.0.1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/50661?format=api",
            "vulnerability_id": "VCID-dmae-k3mx-jqfd",
            "summary": "SVGO DoS through entity expansion in DOCTYPE (Billion Laughs)\nSVGO accepts XML with custom entities, without guards against entity expansion or recursion. This can result in a small XML file (811 bytes) stalling the application and even crashing the Node.js process with `JavaScript heap out of memory`.",
            "references": [
                {
                    "reference_url": "https://github.com/svg/svgo",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/svg/svgo"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-29074",
                    "reference_id": "CVE-2026-29074",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-29074"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-xpqw-6gx7-v673",
                    "reference_id": "GHSA-xpqw-6gx7-v673",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-xpqw-6gx7-v673"
                },
                {
                    "reference_url": "https://github.com/svg/svgo/security/advisories/GHSA-xpqw-6gx7-v673",
                    "reference_id": "GHSA-xpqw-6gx7-v673",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/svg/svgo/security/advisories/GHSA-xpqw-6gx7-v673"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/74430?format=api",
                    "purl": "pkg:npm/svgo@4.0.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/svgo@4.0.1"
                }
            ],
            "aliases": [
                "CVE-2026-29074",
                "GHSA-xpqw-6gx7-v673"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-dmae-k3mx-jqfd"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/svgo@4.0.0"
}