Checkout Field Visibility for WooCommerce <= 2.0.0 - Authenticated (Shop Manager+) Privilege Escalation via Arbitrary Options Update

High 7.2 CWE-269Fixed in 4.0.0
ID
WPSEC-2026-3828
Plugin
Checkout Field Visibility for eCommerce (checkout-field-visibility-for-woocommerce)
Affected
from 1.1.2 before 4.0.0
Remediation
Update to 4.0.0 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-269
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-24
Attack surface
Checkout Field Visibility for WooCommerce on WPSec AttackSurface
Fix released
Published

Description

The Checkout Field Visibility for eCommerce plugin for WordPress is vulnerable to Privilege Escalation via arbitrary options update in all versions up to, and including, 2.0.0, due to a missing capability check in the save_form_data_ajax() AJAX handler (woo_checkout_form_data_ajax). The handler checks only a nonce, which is printed on the plugin's WooCommerce settings screens, and passes posted field names to update_option() after removing a '<prefix>__remove__' marker, so any option name can be written. This makes it possible for authenticated attackers with Shop Manager-level access and above to update arbitrary WordPress options, for example enabling user registration and setting the default role to administrator, and so gain administrative access to the site.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS

License: CC BY 4.0