CVE-2026-9241: CWE-639 Authorization Bypass Through User-Controlled Key in realmag777 FOX – Currency Switcher Professional for WooCommerce
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.
AI Analysis
Technical Summary
The FOX – Currency Switcher Professional for WooCommerce plugin contains an authorization bypass vulnerability (CWE-639) due to improper validation of the $_REQUEST['wooc_order_user_roles'] parameter in the get_value() function within classes/fixed/fixed_user_role.php. This parameter is attacker-controlled and overrides the legitimate user role data derived from the authenticated user's session, allowing users with Subscriber-level access or above to impersonate higher-privileged roles. This can lead to unauthorized access to discounted or restricted pricing configured for privileged roles. The vulnerability affects all versions up to and including 1.4.6 and requires the fixed user-role pricing feature to be enabled with at least one product configured with privileged-role pricing.
Potential Impact
Authenticated users with Subscriber-level access or higher can bypass role-based authorization controls to impersonate higher-privileged roles. This enables them to obtain pricing benefits intended only for privileged roles such as wholesale customers or administrators. There is no impact on confidentiality or availability, and the vulnerability does not allow privilege escalation beyond pricing manipulation. The practical impact depends on the fixed user-role pricing feature being enabled and privileged-role prices being configured.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, administrators should consider disabling the fixed user-role pricing feature or avoid configuring privileged-role pricing to mitigate the risk. Monitor for updates from the vendor realmag777 regarding patches or official workarounds.
CVE-2026-9241: CWE-639 Authorization Bypass Through User-Controlled Key in realmag777 FOX – Currency Switcher Professional for WooCommerce
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.
CVSS v3.1
Score 4.3medium
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The FOX – Currency Switcher Professional for WooCommerce plugin contains an authorization bypass vulnerability (CWE-639) due to improper validation of the $_REQUEST['wooc_order_user_roles'] parameter in the get_value() function within classes/fixed/fixed_user_role.php. This parameter is attacker-controlled and overrides the legitimate user role data derived from the authenticated user's session, allowing users with Subscriber-level access or above to impersonate higher-privileged roles. This can lead to unauthorized access to discounted or restricted pricing configured for privileged roles. The vulnerability affects all versions up to and including 1.4.6 and requires the fixed user-role pricing feature to be enabled with at least one product configured with privileged-role pricing.
Potential Impact
Authenticated users with Subscriber-level access or higher can bypass role-based authorization controls to impersonate higher-privileged roles. This enables them to obtain pricing benefits intended only for privileged roles such as wholesale customers or administrators. There is no impact on confidentiality or availability, and the vulnerability does not allow privilege escalation beyond pricing manipulation. The practical impact depends on the fixed user-role pricing feature being enabled and privileged-role prices being configured.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, administrators should consider disabling the fixed user-role pricing feature or avoid configuring privileged-role pricing to mitigate the risk. Monitor for updates from the vendor realmag777 regarding patches or official workarounds.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-05-21T18:57:33.435Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a182817e29bf47b50de6590
Added to database: 5/28/2026, 11:33:43 AM
Last enriched: 5/28/2026, 11:48:39 AM
Last updated: 5/29/2026, 6:22:32 PM
Views: 12
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.