# Points Management System For Gamification, Ranks, Badges, and Loyalty Rewards Program <= 4.0.4 - Authenticated (Contributor+) Missing Authorization to Rank Requirements Modification and Rank Assignment

- **ID:** WPSEC-2026-4607
- **Plugin:** Points Management System For Gamification, Ranks, Badges, and Loyalty Rewards Program – myCred (`mycred`), https://wordpress.org/plugins/mycred/
- **Affected versions:** from 2.9 before 4.0.5
- **Fixed in:** 4.0.5 (Update to 4.0.5 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-863
- **Usage among sites WPSec scans:** plugin Medium, affected versions Medium (as of 2026-12-04)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/mycred
- **Fix released:** 2026-12-03
- **Published:** 2026-12-04
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4607/

## Description

The myCred plugin for WordPress is vulnerable to unauthorized modification of data via the Rank Plus add-on's mycred_save_rank_requirements and mycred_assign_rank_to_eligible_users AJAX actions in all versions up to, and including, 4.0.4, due to the save_rank_requirements() and assign_rank_to_eligible_users() handlers checking only the generic edit_posts capability and a shared 'mrp-nonce' nonce, without verifying that the target post is a rank or that the user may edit it. The nonce is printed in the Rank Requirements metabox, which any Contributor can load by opening a new rank draft because ranks use the 'post' capability type. This makes it possible for authenticated attackers, with Contributor-level access and above, to overwrite the requirements and sequential setting of any rank, including published ranks created by administrators, write rank requirement meta onto arbitrary posts, and trigger bulk assignment of any rank to eligible users.

## References

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

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

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.
