# Pay with LINE Pay <= 1.3.3 - Missing Authorization to Unauthenticated Order Payment Confirmation and Status Modification via LINE Pay Callback

- **ID:** WPSEC-2026-3684
- **Plugin:** Pay with LINE Pay (`wpbr-linepay-tw`), https://wordpress.org/plugins/wpbr-linepay-tw/
- **Affected versions:** all versions before 1.4.0
- **Fixed in:** 1.4.0 (Update to 1.4.0 or later.)
- **Severity:** Medium 5.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N)
- **Weakness:** CWE-862
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-11-21)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/wpbr-linepay-tw
- **Fix released:** 2026-11-20
- **Published:** 2026-11-21
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3684/

## Description

The Pay with LINE Pay plugin for WordPress is vulnerable to unauthorized modification of data via the LINE Pay return callback (/wc-api/linepay_payment) in all versions up to, and including, 1.3.3, due to a missing authorization check in LINEPay_TW_Response::receive_payment_response(). The callback acted on the order_id and request_type query parameters without verifying the order key or the reserved LINE Pay transaction ID. This makes it possible for unauthenticated attackers to trigger the LINE Pay Confirm flow for any order whose LINE Pay payment is still reserved. Depending on the payment state at LINE Pay, this captures an authorized payment or, when confirmation fails, changes the order status to on-hold or failed.

## References

- https://wpsec.com/vuln/WPSEC-2026-3684/
- https://plugins.svn.wordpress.org/wpbr-linepay-tw/tags/1.4.0/
- https://wordpress.org/plugins/wpbr-linepay-tw/

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

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.
