# Autopay <= 5.1.1 - Unauthenticated Insecure Direct Object Reference to Order Key and Order Details Exposure via 'OrderID' Parameter

- **ID:** WPSEC-2026-4328
- **Plugin:** Autopay (`platnosci-online-blue-media`), https://wordpress.org/plugins/platnosci-online-blue-media/
- **Affected versions:** all versions before 5.1.2
- **Fixed in:** 5.1.2 (Update to 5.1.2 or later.)
- **Severity:** Medium 5.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N)
- **Weakness:** CWE-639
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-12-01)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/platnosci-online-blue-media
- **Fix released:** 2026-11-30
- **Published:** 2026-12-01
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4328/

## Description

The Autopay plugin for WordPress is vulnerable to Insecure Direct Object Reference via the payment return handler ('bm_gateway_return' with the 'OrderID' parameter) in all versions up to, and including, 5.1.1. This is due to the handler resolving an order from a bare, sequential 'OrderID' parameter without verifying that the request may access that order, marking the order as returned from payment, and then redirecting to the stored order-received URL, which carries the order key. This makes it possible for unauthenticated attackers to enumerate order IDs and harvest the order keys of other customers' Autopay orders, and to use those keys to reach key-protected order pages and actions, which can expose those customers' order details.

## References

- https://wpsec.com/vuln/WPSEC-2026-4328/
- https://plugins.svn.wordpress.org/platnosci-online-blue-media/tags/5.1.2/
- https://wordpress.org/plugins/platnosci-online-blue-media/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-4328/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
