Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2025-31854 Overview
CVE-2025-31854 is a Missing Authorization vulnerability [CWE-862] in the Sharaz Shahid Simple Sticky Add To Cart For WooCommerce WordPress plugin (sticky-add-to-cart-woo). The flaw affects all plugin versions up to and including 1.4.9. Authenticated users with low privileges can invoke plugin functionality that should be restricted to higher-privileged roles because access control checks are incorrectly configured. The vulnerability impacts availability of plugin-managed settings or data on affected WooCommerce stores. The issue was published to the National Vulnerability Database on April 1, 2025 and is tracked through Patchstack's vulnerability database.
Critical Impact
Authenticated users with minimal privileges can trigger plugin actions without the required authorization checks, affecting availability of plugin resources on WooCommerce sites running sticky-add-to-cart-woo versions up to 1.4.9.
Affected Products
- Sharaz Shahid Simple Sticky Add To Cart For WooCommerce plugin (sticky-add-to-cart-woo)
- All versions from n/a through 1.4.9
- WordPress sites running WooCommerce with the affected plugin installed
Discovery Timeline
- 2025-04-01 - CVE-2025-31854 published to NVD
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-31854
Vulnerability Analysis
The vulnerability stems from missing authorization checks on one or more plugin actions exposed through WordPress endpoints. The plugin fails to verify that the current user holds the capability required to perform the requested operation. An authenticated attacker with low privileges, such as a subscriber or customer account, can submit requests to plugin handlers and have them processed as if the user were authorized.
The weakness is categorized as CWE-862 (Missing Authorization). This class of flaw occurs when code paths rely on authentication alone and do not validate role or capability on each sensitive action. In WordPress plugins, missing authorization typically appears when current_user_can() checks are absent from AJAX handlers, admin-post actions, or REST route callbacks.
Root Cause
The plugin registers handler endpoints without enforcing a capability check appropriate to the sensitivity of the action. Any authenticated session with a valid nonce or request path reaches the handler and causes the action to execute. The attack targets availability of plugin state rather than confidentiality or integrity of data outside the plugin scope.
Attack Vector
Exploitation requires network access and a low-privileged authenticated account on the target WordPress site. The attacker sends crafted HTTP requests to the vulnerable plugin endpoint. No user interaction is required beyond initial authentication. Sites that allow open registration, including many WooCommerce storefronts that create customer accounts automatically, broaden the exploitable user base.
See the Patchstack advisory for the technical reference. No public proof-of-concept exploit is available at this time.
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2025-31854
Indicators of Compromise
- Unexpected changes to plugin settings or configuration stored in the wp_options table referencing sticky-add-to-cart-woo keys.
- HTTP POST requests from low-privileged customer or subscriber accounts targeting plugin AJAX actions or admin-post endpoints associated with the plugin.
- WordPress audit log entries showing plugin state modifications performed by accounts that should not possess the required capability.
Detection Strategies
- Enumerate installed plugins across managed WordPress sites and flag any instance of sticky-add-to-cart-woo at version 1.4.9 or earlier.
- Review web server access logs for repeated requests to admin-ajax.php or wp-admin/admin-post.php with action parameters tied to the plugin from non-administrative users.
- Correlate recent plugin configuration changes with the authenticated user identity in the WordPress audit trail.
Monitoring Recommendations
- Enable a WordPress security plugin or audit logger that records capability checks and plugin configuration changes.
- Monitor WooCommerce storefronts with open customer registration for anomalous authenticated request patterns targeting plugin endpoints.
- Alert on bulk or scripted requests from a single authenticated session that touch plugin-managed options.
How to Mitigate CVE-2025-31854
Immediate Actions Required
- Identify all WordPress sites running Simple Sticky Add To Cart For WooCommerce and confirm the installed version.
- Update the plugin to a release later than 1.4.9 once the vendor publishes a patched version.
- Where no patched release is yet available, deactivate and remove the plugin until a fix is published.
- Audit customer and subscriber accounts for signs of abuse and reset credentials for suspicious accounts.
Patch Information
At the time of publication, the enriched CVE data does not reference a specific patched version. Administrators should consult the Patchstack advisory and the plugin's WordPress.org page for the latest fixed release and apply updates through the WordPress dashboard or wp-cli.
Workarounds
- Disable the sticky-add-to-cart-woo plugin on affected sites until a patched version is installed.
- Restrict new account registration on WooCommerce sites that do not require open signup, reducing the pool of authenticated attackers.
- Deploy a web application firewall rule that blocks requests to plugin-specific admin-ajax.php actions from accounts without administrative capability.
# Configuration example: list and deactivate the vulnerable plugin via wp-cli
wp plugin list --name=sticky-add-to-cart-woo --fields=name,status,version
wp plugin deactivate sticky-add-to-cart-woo
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

