Skip to content
Laskyr

Plugins · dfx-woo-role-changer · data as of 2026-11-04

Is Membership & User Roles for WooCommerce (Autom… safe? Known vulnerabilities and latest version

No known unpatched vulnerabilities in the latest version (20261008)

As of 2026-11-04. 1 issue is on record for older versions; version 20261007 or newer fixes all of them that state a fix.

Latest version
20261008
Last updated
2026-10-08
Active installs
400+
Known issues on record
1
Unpatched in latest
0
Tested up to WP
7.1.4 · PHP 8.0+

Sync user roles with memberships and subscriptions. Grant access on purchase, revoke on expiry, and restrict your store by role. — by David Marín Carreño (DaveFX)

What to do

  1. Update to the latest version (20261008). Anything older than 20261007 has at least one known issue listed below. Dashboard → Updates, or Plugins → “update now”.
  2. If you cannot update right away, deactivate it until you can.
  3. Turn on auto-updates for it: Plugins → “Enable auto-updates” on its row.
  4. If you ran a vulnerable version and something looks off (spam pages, strange admins, redirects), run the free scan.

With WP-CLI: wp plugin get dfx-woo-role-changer --field=version shows what you run; wp plugin update dfx-woo-role-changer updates it.

Check your version

Known vulnerabilities

1 on record, newest first. “Affected” is the version range the source gives; “fixed in” is the version the source names, or (marked *) the first wordpress.org release after the last affected version.

high 7.5 CVE-2026-104767 · published 2026-10-14

Privilege escalation in Membership & User Roles for WooCommerce (Autom… (20260828 and older)

Affected
20260828 and older
Fixed in
20261007 *
Access needed (per CVSS)
Needs a low-level account (e.g. subscriber)
Range from
CVE record (the advisory publisher) · score by Wordfence
Details from the advisory

The Membership & User Roles for WooCommerce (Automatic Role Changer) plugin for WordPress is vulnerable to Privilege Escalation in versions up to, and including, 20260828. This is due to the `maybe_add_role_to_user()` function unconditionally re-assigning every role stored in the `dfxwcrc_foreign_roles` user meta cache without verifying that each cached role is still actively assigned by the external provider — a condition made permanent by `remember_foreign_roles()`, which merges new foreign roles into the cache but never evicts roles that have since been revoked. This makes it possible for authenticated attackers with subscriber-level access and above to restore a previously revoked Administrator role to their own account, gaining full administrative control of the site, by triggering any role-assignment event such as completing a purchase for a role-mapped product. Exploitation requires Replace Roles mode to be enabled and the attacker's account to have previously received Administrator legitimately through a separate role-management mechanism while the plugin was active, so that `administrator` was written into the `dfxwcrc_foreign_roles` user meta cache before the external provider revoked it.

NVD CVE-2026-104767Wordfence advisoryCode change (fix)Plugin source

Recent activity

Browse vulnerabilities

Where this data comes from

Badge for your site or docs (states facts with a date, not a verdict):
Membership & User Roles for WooCommerce (Autom… vulnerability status badge
<a href="https://laskyr.com/plugins/dfx-woo-role-changer"><img src="https://laskyr.com/plugins/dfx-woo-role-changer/badge.svg" alt="Membership & User Roles for WooCommerce (Autom… vulnerability status"></a>

← Check another plugin · Free hacked-site scan

First hour checklist

If the site was just hacked, read the emergency kit before you delete files. The page is free. Email is optional.

Read the emergency kit