CVE-2026-13009

AI Copilot <= 1.5.4 - Authenticated (Subscriber+) SQL Injection via 'order[0][dir]' Parameter

Published Jul 23, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
The AI Copilot – Content Generator plugin for WordPress is vulnerable to generic SQL Injection via 'order[0][dir]' Parameter in all versions up to, and including, 1.5.4 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with subscriber-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. The required waic-nonce is emitted on the front-end whenever the [waic_form] or [aiwu-form] shortcode is rendered, enabling contributor-level users who can publish shortcodes to obtain a valid nonce and reach the vulnerable AJAX handler, which performs no capability check beyond nonce verification when the shortcodes are not already embedded in a page.

Analysis

AI-generated

Technical impact

The AI Copilot – Content Generator plugin for WordPress contains a SQL Injection flaw that is triggered by the 'order[0][dir]' parameter in its AJAX handler. Because the parameter is embedded directly in a constructed query without escaping or parameterization, malicious SQL can be appended and executed. An attacker who is authenticated at the subscriber level or higher and can embed the [waic_form] or [aiwu-form] shortcodes is able to build the required nonce and target the vulnerable endpoint, thereby reading or manipulating sensitive information stored in the database.

Affected Systems

All versions of the Wupsales AI Copilot – Content Generator plugin up to and including 1.5.4 are affected. The vulnerability is present in the core class responsible for handling table sorting, which uses the unvalidated 'order[0][dir]' value.

Risk and Exploitability

The CVSS score of 6.5 indicates a moderate severity, and the EPSS score of less than 1% suggests that exploitation is not common. This vulnerability is not listed in the CISA KEV catalog. The likely attack vector is through an authenticated user’s ability to embed shortcodes and construct a request to the AJAX endpoint; the absence of a capability check beyond nonce verification makes it possible for any contributor or higher to exploit it. Given that the flaw requires legitimate credentials rather than a publicly accessible entry point, the risk to non‑authenticated users is limited, but a compromised or malicious contributor can extract confidential data, presenting a moderate confidentiality risk.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the AI Copilot – Content Generator plugin to the latest version that includes the fix for the SQL injection issue (verify that the release notes explicitly state the vulnerability is addressed).
  • If a patch is not immediately available, restrict or disable the [waic_form] and [aiwu-form] shortcodes for subscriber-level and lower users until the plugin can be patched, or remove the ability for contributors to create posts containing these shortcodes.
  • Add a server‑side validation layer that verifies the 'order[0][dir]' parameter against an allow list (e.g., only 'ASC' or 'DESC') and ensure that the AJAX handler performs proper capability checks before executing the database query.

Generated by OpenCVE AI on August 3, 2026 at 22:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Wordpress
Wordpress wordpress
Wupsales
Wupsales ai Copilot – Content Generator
Vendors & Products Wordpress
Wordpress wordpress
Wupsales
Wupsales ai Copilot – Content Generator
Type Values Removed Values Added
Description The AI Copilot – Content Generator plugin for WordPress is vulnerable to generic SQL Injection via 'order[0][dir]' Parameter in all versions up to, and including, 1.5.4 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with subscriber-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. The required waic-nonce is emitted on the front-end whenever the [waic_form] or [aiwu-form] shortcode is rendered, enabling contributor-level users who can publish shortcodes to obtain a valid nonce and reach the vulnerable AJAX handler, which performs no capability check beyond nonce verification when the shortcodes are not already embedded in a page.
Title AI Copilot <= 1.5.4 - Authenticated (Subscriber+) SQL Injection via 'order[0][dir]' Parameter
Weaknesses CWE-89
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Jul 23, 2026, 4:05 PM
Reserved
Jun 23, 2026, 3:14 PM
Status
Deferred
Published
Jul 23, 2026, 10:16 AM
Modified
Jul 23, 2026, 4:17 PM