# myCred – Points Management System For Gamification, Ranks, Badges, and Loyalty Rewards Program <= 4.0.0 - Authenticated (Contributor+) Missing Authorization to Arbitrary Post Deletion via Badges, Ranks and Coupons REST API

- **ID:** WPSEC-2026-1528
- **Plugin:** Points Management System For Gamification, Ranks, Badges, and Loyalty Rewards Program – myCred (`mycred`), https://wordpress.org/plugins/mycred/
- **Affected versions:** all versions before 4.0.1
- **Fixed in:** 4.0.1 (Update to 4.0.1 or later.)
- **Severity:** High 8.1 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H)
- **Weakness:** CWE-862
- **Usage among sites WPSec scans:** plugin Medium, affected versions Medium (as of 2026-10-23)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/mycred
- **Fix released:** 2026-10-22
- **Published:** 2026-10-23
- **URL:** https://wpsec.com/vuln/WPSEC-2026-1528/

## Description

The myCRED plugin for WordPress is vulnerable to unauthorized modification of data via the Badges, Ranks and Coupons add-on REST API routes in all versions up to, and including, 4.0.0, due to the permission callbacks only checking for the edit_posts capability and the delete, restore and bulk handlers not checking that the supplied IDs belong to the expected post type or that the user may delete them. This makes it possible for authenticated attackers, with Contributor-level access and above, to trash, restore or permanently delete arbitrary posts, pages and other content on the site, and to modify badge, rank and coupon records.

## References

- https://wpsec.com/vuln/WPSEC-2026-1528/
- https://plugins.svn.wordpress.org/mycred/tags/4.0.1/
- https://wordpress.org/plugins/mycred/

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

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.
