Vulnerabilities / Better Payment / WPSEC-2026-1009

Better Payment <= 2.4.1 - Unauthenticated Open Redirect via PayPal 'return' and 'cancel_return' Parameters

Medium 4.7 CWE-601Fixed in 2.4.2
ID
WPSEC-2026-1009
Plugin
Better Payment – Instant Payments, Donations, Fundraising with Subscriptions & More (better-payment)
Affected
all versions before 2.4.2
Remediation
Update to 2.4.2 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-601
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-10-15
Attack surface
Better Payment on WPSec AttackSurface
Fix released
Published

Description

The Better Payment plugin for WordPress is vulnerable to Open Redirect via the 'return' and 'cancel_return' parameters of the Elementor form's PayPal handler in all versions up to, and including, 2.4.1, due to the URLs being passed to PayPal after only esc_url_raw(), without a check that they point to the site. The handler is open to logged-out users and its nonce is printed on the public payment form. This makes it possible for unauthenticated attackers to send a logged-out visitor who submits a crafted payment form through PayPal to an arbitrary external site once the payment is completed or cancelled.

References

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

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

License: CC BY 4.0