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-2026-97297 Overview
CVE-2026-97297 is a broken access control vulnerability affecting the Gratisfaction WordPress plugin through version 4.6.3. The plugin provides loyalty, contests, and referral program functionality for WooCommerce stores. The flaw allows authenticated users with subscriber-level privileges to access functionality that should be restricted to higher-privileged roles. The issue is tracked under CWE-862: Missing Authorization.
Critical Impact
Authenticated subscribers can invoke privileged plugin functionality without the required authorization checks, exposing confidentiality and allowing limited modifications to data and availability.
Affected Products
- Gratisfaction – All in One Loyalty, Contests, Referral Program for WooCommerce
- Versions 4.6.3 and earlier
- WordPress sites running the vulnerable plugin
Discovery Timeline
- 2026-10-01 - CVE-2026-97297 published to the National Vulnerability Database
- 2026-10-01 - Last updated in NVD database
Technical Details for CVE-2026-97297
Vulnerability Analysis
The Gratisfaction plugin exposes one or more endpoints that fail to enforce capability or role-based checks before executing privileged actions. An attacker who registers or already holds a WordPress subscriber account can reach these endpoints over the network and perform operations intended for administrators or shop managers.
The network attack vector combined with low privilege requirements makes exploitation straightforward on sites that permit open registration. No user interaction is required beyond the attacker's own authenticated session. The impact includes high confidentiality loss alongside limited integrity and availability impact on the WordPress instance.
Root Cause
The root cause is CWE-862: Missing Authorization. Plugin request handlers execute privileged logic without validating the caller's capabilities through WordPress functions such as current_user_can() or without verifying nonces tied to privileged actions. Authentication alone is treated as sufficient to proceed, which permits subscribers to invoke restricted features.
Attack Vector
An attacker authenticates to the target WordPress site using any subscriber account, then issues HTTP requests to the vulnerable plugin endpoints exposed by Gratisfaction. Because the handlers skip authorization checks, the plugin processes requests as if they came from a privileged user. See the Patchstack advisory for CVE-2026-97297 for additional technical context.
No verified public proof-of-concept code is available at the time of publication. The vulnerability mechanism is described in prose because no sanitized exploit sample has been released by the reporter.
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-2026-97297
Indicators of Compromise
- Unexpected administrative changes performed from accounts with the subscriber role
- HTTP POST or GET requests from low-privileged sessions targeting Gratisfaction admin-ajax.php actions or plugin REST routes
- New or modified loyalty program entries, coupons, or referral records created outside normal workflows
- Spikes in authenticated subscriber traffic to /wp-content/plugins/gratisfaction-* paths
Detection Strategies
- Review web server access logs for subscriber sessions that invoke plugin-specific AJAX or REST endpoints
- Correlate WordPress audit logs with user role to identify privileged actions originating from non-privileged accounts
- Deploy WordPress security plugins or a web application firewall rule that flags unauthorized role-based actions
- Compare installed Gratisfaction plugin version against 4.6.3 across all managed WordPress instances
Monitoring Recommendations
- Enable WordPress activity logging that records user ID, role, and action for every state-changing request
- Alert on creation of new administrator accounts or changes to user roles immediately after a subscriber login event
- Monitor outbound requests from the WordPress host to detect post-exploitation data exfiltration
How to Mitigate CVE-2026-97297
Immediate Actions Required
- Update the Gratisfaction plugin to a version later than 4.6.3 once the vendor publishes a fix
- Disable or uninstall the Gratisfaction plugin on sites where it is not actively required
- Disable open user registration or restrict registration to trusted email domains to reduce the attacker pool
- Audit existing subscriber accounts and remove unknown or dormant users
Patch Information
Refer to the Patchstack advisory for the Gratisfaction plugin for the latest patch status. Administrators should subscribe to vendor and Patchstack notifications and apply fixed versions as soon as they become available.
Workarounds
- Place the WordPress site behind a web application firewall with virtual patching rules for CWE-862 issues
- Restrict access to wp-admin and admin-ajax.php endpoints by IP address where feasible
- Temporarily set users_can_register to false in WordPress general settings to prevent new subscriber accounts
# Disable open registration via WP-CLI
wp option update users_can_register 0
# List installed Gratisfaction plugin version
wp plugin get gratisfaction-all-in-one-loyalty-contests-referral-program-for-woocommerce --field=version
# Deactivate the vulnerable plugin until a patched release is applied
wp plugin deactivate gratisfaction-all-in-one-loyalty-contests-referral-program-for-woocommerce
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

