Description
The Query Wrangler plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1.5.57 via the 'options' parameter parameter. This is due to missing capability check and nonce verification on the wp_ajax_qw_form_ajax handler, combined with unsanitized attacker-controlled options fully replacing saved query options and being passed directly to call_user_func_array() guarded only by function_exists(). This makes it possible for authenticated attackers, with subscriber-level access and above, to execute code on the server. Exploitation requires only that at least one query row exists in the database, as the query_id is a small enumerable integer with no further access control.
Published: 2026-08-16
Score: 8.8 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Query Wrangler plugin for WordPress versions up to and including 1.5.57 allows an authenticated user with subscriber‑level or higher access to execute arbitrary code. The issue originates from the wp_ajax_qw_form_ajax handler which lacks capability checks and nonce verification, and from the unsanitized 'options' parameter that is passed directly to call_user_func_array guarded only by function_exists(). An attacker can replace stored query options with malicious callbacks, forcing the plugin to invoke attacker‑controlled code on the server.

Affected Systems

Affected systems are all WordPress installations that have the Query Wrangler plugin installed with a version ≤1.5.57. The vulnerability resides in the plugin’s core code, so any site using the plugin—regardless of theme or additional plugins—is at risk if subscriber or higher level users can access the admin area.

Risk and Exploitability

The flaw has a CVSS score of 8.8, reflecting high severity, and no EPSS score is publicly available; it is not listed in the CISA KEV catalog. Exploitation requires an authenticated user with subscriber or higher privileges and the presence of at least one query row in the database—an easily satisfied condition. Once the crafted AJAX request is sent, the attacker can run arbitrary PHP code, leading to full compromise of confidentiality, integrity, and availability. The attack vector is web‑application level from an authenticated session, but the impact is equivalent to a server‑wide remote code execution.

Generated by OpenCVE AI on August 16, 2026 at 05:28 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Query Wrangler to 1.5.58 or newer, which removes the capability checks and sanitization flaws.
  • If updating is not immediately possible, disable the wp_ajax_qw_form_ajax endpoint by deactivating the plugin or restricting its use to administrator‑only users.
  • As a temporary mitigation, purge any custom query rows that could be exploited or implement strict input validation on the 'options' parameter to reject non‑expected callback names, following CWE‑434 best practices.

Generated by OpenCVE AI on August 16, 2026 at 05:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 16 Aug 2026 10:00:00 +0000

Type Values Removed Values Added
First Time appeared Daggerheart
Daggerheart query Wrangler
Wordpress
Wordpress wordpress
Vendors & Products Daggerheart
Daggerheart query Wrangler
Wordpress
Wordpress wordpress

Sun, 16 Aug 2026 04:45:00 +0000

Type Values Removed Values Added
Description The Query Wrangler plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1.5.57 via the 'options' parameter parameter. This is due to missing capability check and nonce verification on the wp_ajax_qw_form_ajax handler, combined with unsanitized attacker-controlled options fully replacing saved query options and being passed directly to call_user_func_array() guarded only by function_exists(). This makes it possible for authenticated attackers, with subscriber-level access and above, to execute code on the server. Exploitation requires only that at least one query row exists in the database, as the query_id is a small enumerable integer with no further access control.
Title Query Wrangler <= 1.5.57 - Authenticated (Subscriber+) Remote Code Execution via 'options' Parameter
Weaknesses CWE-434
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

Daggerheart Query Wrangler
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-08-16T04:24:50.637Z

Reserved: 2026-07-02T17:54:12.824Z

Link: CVE-2026-14498

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-16T05:16:46.360

Modified: 2026-08-16T05:16:46.360

Link: CVE-2026-14498

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-16T09:45:03Z

Weaknesses
  • CWE-434

    Unrestricted Upload of File with Dangerous Type