Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/73707?format=api",
    "purl": "pkg:npm/ghost@5.121.0",
    "type": "npm",
    "namespace": "",
    "name": "ghost",
    "version": "5.121.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "5.130.4",
    "latest_non_vulnerable_version": "6.19.3",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/49884?format=api",
            "vulnerability_id": "VCID-fjk7-enzv-a7hm",
            "summary": "Ghost vulnerable to XSS via malicious Portal preview links\nAn attacker was able to craft a malicious link that, when accessed by an authenticated staff user or member, would execute JavaScript with the victim's permissions, potentially leading to account takeover.",
            "references": [
                {
                    "reference_url": "https://github.com/TryGhost/Ghost",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/TryGhost/Ghost"
                },
                {
                    "reference_url": "https://github.com/TryGhost/Ghost/commit/da858e640e88e69c1773a7b7ecdc2008fa143849",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/TryGhost/Ghost/commit/da858e640e88e69c1773a7b7ecdc2008fa143849"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-24778",
                    "reference_id": "CVE-2026-24778",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-24778"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-gv6q-2m97-882h",
                    "reference_id": "GHSA-gv6q-2m97-882h",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-gv6q-2m97-882h"
                },
                {
                    "reference_url": "https://github.com/TryGhost/Ghost/security/advisories/GHSA-gv6q-2m97-882h",
                    "reference_id": "GHSA-gv6q-2m97-882h",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/TryGhost/Ghost/security/advisories/GHSA-gv6q-2m97-882h"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/73707?format=api",
                    "purl": "pkg:npm/ghost@5.121.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/ghost@5.121.0"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/73708?format=api",
                    "purl": "pkg:npm/ghost@6.15.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/ghost@6.15.0"
                }
            ],
            "aliases": [
                "CVE-2026-24778",
                "GHSA-gv6q-2m97-882h"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-fjk7-enzv-a7hm"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/ghost@5.121.0"
}