Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/73224?format=api",
    "purl": "pkg:npm/n8n@2.2.2",
    "type": "npm",
    "namespace": "",
    "name": "n8n",
    "version": "2.2.2",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2.4.0",
    "latest_non_vulnerable_version": "2.10.1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/49604?format=api",
            "vulnerability_id": "VCID-9cdm-87vn-47dn",
            "summary": "n8n's Missing Stripe-Signature Verification Allows Unauthenticated Forged Webhooks\nAn authentication bypass in the Stripe Trigger node allows unauthenticated parties to trigger workflows by sending forged Stripe webhook events.\n\nThe Stripe Trigger creates and stores a Stripe webhook signing secret when registering the webhook endpoint, but incoming webhook requests were not verified against this secret. As a result, any HTTP client that knows the webhook URL could send a POST request containing a matching event `type`, causing the workflow to execute as if a legitimate Stripe event had been received.\n\nThis issue affects n8n users who have active workflows using the Stripe Trigger node. An attacker could potentially fake payment or subscription events and influence downstream workflow behavior. The practical risk is reduced by the fact that the webhook URL contains a high-entropy UUID; however, authenticated n8n users with access to the workflow can view this webhook ID.",
            "references": [
                {
                    "reference_url": "https://github.com/n8n-io/n8n",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/n8n-io/n8n"
                },
                {
                    "reference_url": "https://github.com/n8n-io/n8n/commit/a61a5991093c41863506888336e808ac1eff8d59",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/n8n-io/n8n/commit/a61a5991093c41863506888336e808ac1eff8d59"
                },
                {
                    "reference_url": "https://github.com/n8n-io/n8n/pull/22764",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/n8n-io/n8n/pull/22764"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-21894",
                    "reference_id": "CVE-2026-21894",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-21894"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-jf52-3f2h-h9j5",
                    "reference_id": "GHSA-jf52-3f2h-h9j5",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-jf52-3f2h-h9j5"
                },
                {
                    "reference_url": "https://github.com/n8n-io/n8n/security/advisories/GHSA-jf52-3f2h-h9j5",
                    "reference_id": "GHSA-jf52-3f2h-h9j5",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/n8n-io/n8n/security/advisories/GHSA-jf52-3f2h-h9j5"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/73224?format=api",
                    "purl": "pkg:npm/n8n@2.2.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/n8n@2.2.2"
                }
            ],
            "aliases": [
                "CVE-2026-21894",
                "GHSA-jf52-3f2h-h9j5"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-9cdm-87vn-47dn"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/n8n@2.2.2"
}