{"id":"GHSA-whc7-2g23-hfwj","summary":"TastyIgniter: Mollie payment confirmation does not verify payment-to-order binding or amount, allowing order status forgery","details":"### Summary\nThe Mollie payment gateway's server-to-server payment confirmation endpoint marks an order as paid based solely on whether a Mollie payment ID is \"paid,\" without verifying that the payment actually belongs to that order or that its amount matches the order total. This allows a customer to mark an order as fully paid without paying its actual price.\n\n### Details\n`processNotifyUrl()` in `src/Payments/Mollie.php` (around lines 158-194) looks up the order by a URL hash and, independently, fetches a Mollie payment object using a client-supplied `id` request parameter:\n\n    $order = $this-\u003ecreateOrderModel()-\u003ewhereHash($hash)-\u003efirst();\n    $payment = $this-\u003ecreateClient()-\u003epayments-\u003eget(request()-\u003einput('id', ''));\n    if ($payment-\u003eisPaid()) {\n        $order-\u003eupdateOrderStatus($paymentMethod-\u003eorder_status, ...);\n        $order-\u003emarkAsPaymentProcessed();\n    }\n\nNo check is performed that `$payment`'s own order metadata references `$order`, and no check that `$payment-\u003eamount` matches `$order-\u003eorder_total`. The notify route is intentionally unauthenticated (required for Mollie's servers to reach it) and CSRF-exempt (`VerifyCsrfToken::except(['ti_payregister/*'])` in `src/Extension.php`).\n\nBy contrast, in the same codebase, both `Stripe::verifyPaymentIntentForOrder()` (`src/Payments/Stripe.php`) and `PaypalExpress::processReturnUrl()` (`src/Payments/PaypalExpress.php`) correctly check both the order reference and the amount before marking an order paid.\n\n### PoC\n1. As an ordinary customer, place Order A (a minimal-cost item) and pay it via Mollie — obtain the resulting Mollie payment `id` (visible from the checkout redirect / notify traffic for that order).\n2. Place Order B (a higher-value order) via the normal storefront checkout and select Mollie, but do not complete payment.\n3. Send a request to Order B's notify URL, supplying Order A's already-paid Mollie payment `id` as the `id` parameter instead of a genuine payment for Order B.\n4. `processNotifyUrl()` fetches Order A's payment from Mollie (a real, valid, paid transaction, so `isPaid()` returns true) and marks Order B as paid, even though Order B's actual price was never charged.\n\nNo per-payment-ID consumption tracking was found that would prevent the same paid payment ID from being reused across multiple orders' notify URLs.\n\n### Impact\nAny customer who can place two orders through the normal storefront can get an order marked \"paid\" without paying its actual amount — direct, repeatable revenue loss for the merchant. No special privileges or hash-guessing are required.","aliases":["CVE-2026-134021"],"modified":"2026-11-30T21:00:04.456061003Z","published":"2026-11-30T20:48:51Z","related":["CVE-2026-134021"],"database_specific":{"nvd_published_at":"2026-11-23T23:17:04Z","cwe_ids":["CWE-345"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2026-11-30T20:48:51Z"},"references":[{"type":"WEB","url":"https://github.com/rconfig/rconfig/security/advisories/GHSA-p5q7-2wwp-q42f"},{"type":"WEB","url":"https://github.com/tastyigniter/TastyIgniter/security/advisories/GHSA-whc7-2g23-hfwj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134021"},{"type":"WEB","url":"https://github.com/tastyigniter/ti-ext-payregister/pull/66"},{"type":"WEB","url":"https://github.com/tastyigniter/ti-ext-payregister/commit/14fa38d24fdeebbcc25876e902d7c631a2e1f4cf"},{"type":"PACKAGE","url":"https://github.com/tastyigniter/TastyIgniter"},{"type":"WEB","url":"https://github.com/tastyigniter/ti-ext-payregister/releases/tag/v4.3.1"}],"affected":[{"package":{"name":"tastyigniter/ti-ext-payregister","ecosystem":"Packagist","purl":"pkg:composer/tastyigniter/ti-ext-payregister"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.3.1"}]}],"versions":["v1.1.0-beta","v1.1.0-beta.2","v1.1.0-beta.3","v1.1.0-beta.4","v1.1.0-beta.5","v1.1.0-beta.6.1","v1.1.0-beta.6.2","v1.2.0","v1.2.1","v1.2.2","v1.2.3","v1.2.4","v1.2.5","v1.3.0","v1.3.1","v1.3.2","v1.3.3","v1.3.4","v1.3.5","v1.3.6","v1.4.0","v1.4.1","v1.4.2","v1.4.3","v1.5.0","v2.0.0","v2.1.0","v2.2.0","v2.3.0","v2.3.1","v2.3.2","v2.3.3","v2.3.4","v2.4.0","v2.4.1","v2.5.0","v2.6.0","v2.6.1","v2.6.2","v2.6.3","v2.7.0","v2.7.1","v2.7.2","v2.7.3","v4.0.0","v4.0.0-beta.1","v4.0.1","v4.0.2","v4.0.3","v4.0.4","v4.0.5","v4.0.6","v4.0.7","v4.0.8","v4.1.0","v4.1.1","v4.1.2","v4.2.0","v4.3.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/11/GHSA-whc7-2g23-hfwj/GHSA-whc7-2g23-hfwj.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"}]}