Plugins · dfx-woo-role-changer · data as of 2026-11-04
Is Membership & User Roles for WooCommerce (Autom… safe? Known vulnerabilities and latest version
- 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
- Update to the latest version (20261008). Anything older than 20261007 has at least one known issue listed below. Dashboard → Updates, or Plugins → “update now”.
- If you cannot update right away, deactivate it until you can.
- Turn on auto-updates for it: Plugins → “Enable auto-updates” on its row.
- 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
- 2026-10-08 — latest release on wordpress.org (20261008).
- 2026-10-14 — Privilege escalation disclosed (CVE-2026-104767), fixed in 20261007.
Get an email when Membership & User Roles for WooCommerce (Autom… has a new vulnerability
Free. We check the CVE feeds every day and email you only when a new issue for Membership & User Roles for WooCommerce (Autom… (dfx-woo-role-changer) is published or a fix ships. Unsubscribe in one click.
Browse vulnerabilities
Types found in this plugin: Privilege escalation (1)
Where this data comes from
- Version, last update, installs: wordpress.org/plugins/dfx-woo-role-changer (Plugins API), fetched 2026-11-04.
- Vulnerabilities: NIST National Vulnerability Database (NVD), checked 2026-11-04. This product uses data from the NVD API but is not endorsed or certified by the NVD.
- Each record links to its CVE page and to the original advisory (Wordfence, Patchstack or WPScan) where there is one. We only list a CVE here when its references or its advisory name this exact plugin, so a few real issues may be missing; none should be about a different plugin. Spot an error? Email Daniel.
Badge for your site or docs (states facts with a date, not a verdict):
<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>