KueskiPay Gateway <= 3.2.0 - Unauthenticated Missing Authorization to Order Status Manipulation via Kueski Pay Return Callback

Medium 5.3 CWE-862Fixed in 3.2.1
ID
WPSEC-2026-3944
Plugin
KueskiPay Gateway (kueskipay-gateway)
Affected
all versions before 3.2.1
Remediation
Update to 3.2.1 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Weakness
CWE-862
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-25
Attack surface
KueskiPay Gateway on WPSec AttackSurface
Fix released
Published

Description

The KueskiPay Gateway plugin for WordPress is vulnerable to unauthorized order status changes via the Kueski Pay return (kp-conciliation) callback in all versions up to, and including, 3.2.0. This is due to a missing authorization check. The handler does not confirm that the request was issued for the order: it never checks the order key. It also takes the order transition from the user-supplied 'payment_status' parameter. The encrypted order identifier can be forged because it is encrypted with the merchant's client ID, which is shown on the storefront. The only nonce is a logged-out nonce that every guest shares. This makes it possible for unauthenticated attackers to change the status of other customers' pending Kueski orders. In 3.2.0 they can cancel an order by sending whatever status Kueski reports for it when that status is not success, canceled or reject (anything else falls to the default branch, which cancels the order). Older releases do not check the status with Kueski at all, so attackers can also mark unpaid orders as paid.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS

License: CC BY 4.0