Lookup for vulnerabilities affecting packages.

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

{
    "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.",
    "aliases": [
        {
            "alias": "CVE-2026-21894"
        },
        {
            "alias": "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"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/73223?format=api",
            "purl": "pkg:npm/n8n@0.150.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-9cdm-87vn-47dn"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/n8n@0.150.0"
        }
    ],
    "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"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 290,
            "name": "Authentication Bypass by Spoofing",
            "description": "This attack-focused weakness is caused by incorrectly implemented authentication schemes that are subject to spoofing attacks."
        },
        {
            "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-9cdm-87vn-47dn"
}