# Better Payment <= 2.4.2 - Authenticated (Author+) Missing Authorization to Campaign Creation and Modification via REST API

- **ID:** WPSEC-2026-1660
- **Plugin:** Better Payment – Instant Payments, Donations, Fundraising with Subscriptions & More (`better-payment`), https://wordpress.org/plugins/better-payment/
- **Affected versions:** from 2.2.0 before 2.4.3
- **Fixed in:** 2.4.3 (Update to 2.4.3 or later.)
- **Severity:** Medium 4.3 (CVSS:3.1/AV:N/AC:L/PR:L/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-10-26)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/better-payment
- **Fix released:** 2026-10-25
- **Published:** 2026-10-26
- **URL:** https://wpsec.com/vuln/WPSEC-2026-1660/

## Description

The Better Payment plugin for WordPress is vulnerable to unauthorized modification of data via the bp_campaign REST API endpoint in all versions up to, and including, 2.4.2, due to the bp_campaign post type being registered with show_in_rest while inheriting the default post capabilities instead of the manage_options requirement that the plugin's own campaign screens enforce. This makes it possible for authenticated attackers with Author-level access and above to create and publish campaigns through /wp/v2/bp_campaign. Users with Editor-level access can also edit, unpublish, password-protect or delete any campaign.

## References

- https://wpsec.com/vuln/WPSEC-2026-1660/
- https://plugins.svn.wordpress.org/better-payment/tags/2.4.3/
- https://wordpress.org/plugins/better-payment/

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

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.
