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

CVE-2026-13159: Real Estate Papi WordPress CSRF Vulnerability

CVE-2026-13159 is a cross-site request forgery flaw in Real Estate Papi WordPress theme that allows authenticated users to install plugins without authorization. This post explains its impact, affected versions, and mitigation steps.

Published:

CVE-2026-13159 Overview

The Real Estate Papi WordPress theme through version 1.0.5 contains a missing authorization vulnerability [CWE-862] in one of its AJAX actions. The affected AJAX handler does not perform capability or Cross-Site Request Forgery (CSRF) checks. Any authenticated user, including a low-privileged subscriber, can trigger the endpoint to install a fixed set of companion plugins from the WordPress.org repository. When the request executes in the session of a user who can activate plugins, those plugins are activated as well.

Critical Impact

Authenticated low-privilege users can install arbitrary companion plugins on a vulnerable WordPress site, expanding the site's attack surface.

Affected Products

  • Real Estate Papi WordPress theme, versions up to and including 1.0.5

Discovery Timeline

  • 2026-09-06 - CVE-2026-13159 published to the National Vulnerability Database (NVD)
  • 2026-09-08 - Last updated in NVD database

Technical Details for CVE-2026-13159

Vulnerability Analysis

The Real Estate Papi theme exposes an AJAX action that installs a predefined list of companion plugins from the WordPress.org repository. The handler omits both a capability check (current_user_can()) and a CSRF nonce verification (check_ajax_referer()). This design allows any authenticated user, including subscribers, to invoke the plugin installation routine.

The scope of the abuse is limited to plugins hardcoded by the theme, which reduces the risk compared to arbitrary plugin installation. However, when the request executes in the context of an administrator session, the installed plugins are also activated. This behavior can be chained with CSRF against an authenticated administrator to escalate the impact.

Root Cause

The root cause is a missing authorization flaw [CWE-862] in the AJAX handler. The handler assumes trust from any authenticated session and does not gate the installation action behind an administrator capability such as install_plugins or activate_plugins. The absence of a nonce further removes protection against CSRF-driven requests from a browser context.

Attack Vector

An attacker with subscriber-level credentials sends an authenticated POST request to the vulnerable admin-ajax.php endpoint specifying the theme's AJAX action. The server responds by installing the predetermined companion plugins. When the request is delivered through CSRF against an administrator, the plugins are also activated on the target site. The vulnerability is exploitable over the network and does not require user interaction beyond the initial authentication.

Refer to the WPScan Vulnerability Report for additional technical detail.

Detection Methods for CVE-2026-13159

Indicators of Compromise

  • Unexpected plugin directories appearing under wp-content/plugins/ that match the theme's companion plugin list.
  • Entries in active_plugins inside the wp_options table that were not installed by an administrator.
  • WordPress activity log entries showing plugin installation events triggered by non-administrator user accounts.

Detection Strategies

  • Monitor HTTP POST requests to admin-ajax.php originating from subscriber-level sessions and inspect the action parameter for the theme's AJAX handler.
  • Alert on WordPress plugin installation events that occur outside of administrator-initiated maintenance windows.
  • Compare the installed plugin inventory against a known-good baseline to identify newly introduced companion plugins.

Monitoring Recommendations

  • Enable a WordPress audit logging plugin that records plugin install and activation events with the associated user ID.
  • Forward web server access logs and PHP error logs to a central log platform for correlation with WordPress application events.
  • Track file system changes under wp-content/plugins/ using file integrity monitoring.

How to Mitigate CVE-2026-13159

Immediate Actions Required

  • Deactivate the Real Estate Papi theme until a patched version is available if the site is not actively using it.
  • Restrict user registration or set new registrations to a role lower than subscriber where feasible.
  • Review installed plugins and remove any unauthorized companion plugins introduced through the vulnerable AJAX action.

Patch Information

At the time of publication, no vendor patch is referenced in the NVD entry for CVE-2026-13159. Consult the WPScan Vulnerability Report for the current fix status and update the theme once a version above 1.0.5 is released.

Workarounds

  • Block or rate-limit requests to admin-ajax.php from non-administrator sessions at a Web Application Firewall (WAF).
  • Apply a virtual patch rule that denies POST requests to admin-ajax.php whose action parameter matches the theme's plugin installation handler when the requester is not an administrator.
  • Audit and remove unused theme files, or switch to an alternative real estate theme until a fixed release is published.

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.