CVE-2026-69180
# Security Advisory: Forged Webhook Payload Leads to Order Fraud Without Payment ## Summary | Field | Details | |---|---| | **Package** | `tastyigniter/ti-ext-payregister` | | **Affected File** | `src/Payments/Stripe.php` — `getWebhookPayload()` (lines 741–754) | | **Affected Versions** | All current versions (tested on v4.2.1) | | **CWE** | [CWE-345 — Insufficient Verification of Data Authenticity](https://cwe.mitre.org/data/definitions/345.html) | | **Reported** | 2026-04-20 | --- ## Description The Stripe payment gateway webhook handler accepts forged webhook payloads **without signature verification** when the webhook secret is not configured. Because the webhook secret is an optional field (not enforced by validation), an unauthenticated attacker can send a crafted `payment_intent.succeeded` webhook to mark any order as paid without making an actual payment. --- ## Root Cause In `src/Payments/Stripe.php`: ```php protected function getWebhookPayload(): array { if (!$webhookSecret = $this->getWebhookSecret()) { // No webhook secret configured → payload accepted WITHOUT any verification return json_decode(request()->getContent(), true); } // Signature is only verified when the webhook secret IS configured $event = Webhook::constructEvent( request()->getContent(), request()->header('stripe-signature'), $webhookSecret, ); return $event->toArray(); } ``` When no webhook secret is set, the handler returns the raw, unverified request body directly. The webhook secret fields (`test_webhook_secret` / `live_webhook_secret`) are **optional** in the admin payment settings form — only the Publishable Key and Secret Key are enforced by validation. Additionally, the webhook endpoint is explicitly excluded from CSRF protection in `Extension.php` (line 161): ```php VerifyCsrfToken::except(['ti_payregister/*']); ``` This means the endpoint is both **unauthenticated** and **CSRF-exempt**, making it triv
Properties
- Summary
- TastyIgniter: Forged Webhook Payload Leads to Order Fraud Without Payment
- Severity
- high
- Nvd fetched at
- 2026-12-04T15:00:48.841578+00:00
- Epss score
- 0.0036
- Cvss score
- 8.6
- Cvss severity
- HIGH
- Retrieved at
- 2026-12-04T15:03:00+00:00
- Ghsa published
- 2026-12-03T00:38:15Z
- Source url
- https://github.com/advisories/GHSA-v7c9-gjc9-fv7g
- Ghsa updated
- 2026-12-03T00:38:16Z
- Ghsa id
- GHSA-v7c9-gjc9-fv7g
- Last source
- FIRST EPSS
- Score
- 8.6
- Cvss version
- 3.1
- Cve id
- CVE-2026-69180
- Cvss vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N
- First seen by Signal
- 2026-12-02T18:44:16+00:00
- Name
- CVE-2026-69180
- Is ghsa only
- false
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N
Related Entities (4)
HAS_WEAKNESS (2)
AFFECTS (1)
VULNERABLE_TO (1)
Related research
Explore deeper with Ninja Signal's threat intelligence graph