- Severity: HIGH
- CVE: CVE-2026-69180
- Ecosystems: composer
- Packages: tastyigniter/ti-ext-payregister
# 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 web…
Source: GitHub Security Advisories · 2026-12-03