Home

Description

The FOX – Currency Switcher Professional for WooCommerce plugin for WordPress is vulnerable to Authorization Bypass Through User-Controlled Key in all versions up to and including 1.4.6. This is due to the `get_value()` function in `classes/fixed/fixed_user_role.php` trusting the attacker-controlled `$_REQUEST['wooc_order_user_roles']` parameter to determine the user's role context for role-based price resolution without any validation, allowing it to override the legitimate role data derived from the authenticated user's session object via `$user->roles`. This makes it possible for authenticated attackers, with Subscriber-level access and above, to impersonate higher-privileged roles — such as wholesale customer or administrator — and obtain discounted or otherwise restricted pricing that should not be available to their actual role. This vulnerability only has practical impact when the fixed user-role pricing feature is enabled and at least one product has a privileged-role price configured.

PUBLISHED Reserved 2026-05-21 | Published 2026-05-28 | Updated 2026-05-28 | Assigner Wordfence




MEDIUM: 4.3CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

Problem types

CWE-639 Authorization Bypass Through User-Controlled Key

Product status

Default status
unaffected

Any version
affected

Timeline

2026-05-21:Vendor Notified
2026-05-27:Disclosed

Credits

Long Lagon finder

References

www.wordfence.com/...-0e87-46f7-83c5-8f9e9aa97b4f?source=cve

plugins.trac.wordpress.org/...sses/fixed/fixed_user_role.php

plugins.trac.wordpress.org/...sses/fixed/fixed_user_role.php

plugins.trac.wordpress.org/...itcher/trunk/classes/woocs.php

plugins.trac.wordpress.org/...switcher&sfp_email=&sfph_mail=

cve.org (CVE-2026-9241)

nvd.nist.gov (CVE-2026-9241)

Download JSON