Skip to main content
CVE Vulnerability Database
Vulnerability Database/CVE-2026-40796

CVE-2026-40796: WPPizza Information Disclosure Flaw

CVE-2026-40796 is an information disclosure vulnerability in WPPizza versions 3.19.9 and earlier that exposes subscriber sensitive data. This article covers the technical details, affected versions, security impact, and mitigation.

Published:

CVE-2026-40796 Overview

CVE-2026-40796 is a sensitive data exposure vulnerability in the WPPizza WordPress plugin affecting versions up to and including 3.19.9. The flaw allows authenticated users with subscriber-level privileges to access information that should remain restricted to higher-privileged roles. The issue is tracked under [CWE-497]: Exposure of Sensitive System Information to an Unauthorized Control Sphere. Patchstack published the advisory documenting the weakness in the plugin's access control implementation.

Critical Impact

Any authenticated subscriber on a WordPress site running WPPizza <= 3.19.9 can retrieve sensitive plugin data without administrative privileges.

Affected Products

  • WPPizza WordPress plugin versions <= 3.19.9
  • WordPress sites with open subscriber registration running the affected plugin
  • E-commerce and restaurant ordering deployments built on WPPizza

Discovery Timeline

  • 2026-06-15 - CVE-2026-40796 published to NVD
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2026-40796

Vulnerability Analysis

The vulnerability stems from inadequate authorization checks on plugin endpoints that handle restricted data. WPPizza exposes functionality intended for administrators or shop managers, but the plugin verifies only that a user is authenticated. It does not validate that the user holds a role with appropriate capabilities.

An attacker with subscriber-level access, the lowest authenticated WordPress role, can invoke these endpoints and retrieve sensitive information. The exposure is limited to confidentiality. The attack requires no user interaction and can be conducted entirely over the network.

Root Cause

The root cause is a missing capability check, classified as [CWE-497]. The plugin assumes that being logged in implies authorization to read certain data. WordPress provides the current_user_can() function to validate capabilities such as manage_options, but the affected handlers omit this check or use an insufficient verification path.

Attack Vector

An attacker first obtains a subscriber account. On sites that allow open registration, this requires only a valid email address. The attacker then sends authenticated HTTP requests to the vulnerable plugin endpoints. The server returns sensitive data because the authorization layer does not verify role membership before responding.

No verified proof-of-concept code has been published. The technical details are documented in the Patchstack Vulnerability Report.

Detection Methods for CVE-2026-40796

Indicators of Compromise

  • Unexpected authenticated requests to WPPizza administrative endpoints originating from accounts with the subscriber role
  • Sudden spikes in subscriber account registrations followed by access to plugin URLs under /wp-admin/admin-ajax.php or /wp-json/wppizza/
  • Web server access logs showing repeated requests to WPPizza handlers from the same low-privilege session cookie

Detection Strategies

  • Audit WordPress access logs for HTTP 200 responses to WPPizza endpoints where the requesting user holds only the subscriber role
  • Correlate user role data from the wp_usermeta table with endpoint access patterns to identify privilege mismatches
  • Inspect the installed plugin version against the fixed release and flag any installation at or below 3.19.9

Monitoring Recommendations

  • Enable WordPress audit logging plugins to record REST API and AJAX activity per user role
  • Monitor new subscriber registrations on sites that do not require subscriber accounts for normal operation
  • Forward web server and WordPress logs to a centralized SIEM and alert on anomalous role-to-endpoint mappings

How to Mitigate CVE-2026-40796

Immediate Actions Required

  • Update the WPPizza plugin to a version above 3.19.9 once the vendor releases a patched build
  • Audit existing user accounts and remove unrecognized or stale subscriber accounts
  • Disable open user registration under Settings > General if subscriber accounts are not required

Patch Information

Review the Patchstack Vulnerability Report for the current patched version and vendor remediation guidance. Apply the update through the WordPress plugin manager or via WP-CLI using wp plugin update wppizza.

Workarounds

  • Restrict access to /wp-admin/admin-ajax.php and WPPizza REST routes at the web application firewall layer for non-administrative roles
  • Temporarily deactivate the WPPizza plugin on sites that cannot be patched immediately
  • Enforce strong registration controls such as email verification and CAPTCHA to slow attacker account creation
bash
# Update WPPizza via WP-CLI once a patched version is available
wp plugin update wppizza

# Verify installed version
wp plugin get wppizza --field=version

# Disable open registration as a temporary control
wp option update users_can_register 0

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.