Description
The affiliate-toolkit WordPress plugin before 3.8.9 does not validate a user-supplied sort value against an allowlist before using it in a database query, and the affected administrative list screen requires only a lower-privilege capability rather than an administrator one, so users with editor-level access and above can perform SQL injection and read arbitrary information from the database. On multisite a sub-site editor can read the network-global users table, including the super administrator's password hash.
Published: 2026-10-16
Score: 6.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Data Exfiltration via SQL Injection
Action: Patch Now
AI Analysis

Impact

The affiliate‑toolkit WordPress plugin, versions earlier than 3.8.9, incorporates a user‑supplied orderby value directly into a database query without first validating it against an allowlist. The administrative list screen that contains this parameter is accessible to users with editor or higher capabilities, rather than requiring administrator rights. This design flaw enables an authenticated editor or higher user to inject arbitrary SQL code, read any table in the database, and exfiltrate sensitive information. If the site runs WordPress Multisite, a sub‑site editor can read the network‑wide users table and obtain a super administrator password hash, potentially allowing full site compromise. The vulnerability is a classic SQL Injection problem (CWE‑89).

Affected Systems

WordPress sites installed with the affiliate‑toolkit plugin at version 3.8.8 or earlier are affected. The flaw exists in all installations that include the vulnerable plugin code; the plugin’s lack of an allowlist check is present regardless of site configuration. Multisite setups are particularly risky because a sub‑site editor can read the network‑wide users table, including the super administrator’s password hash. All users with editor level or higher capability can potentially exploit the vulnerability.

Risk and Exploitability

The EPSS score of < 1 % indicates a low probability of exploitation in the wild, and the vulnerability is not listed in CISA’s KEV catalog. However, the vulnerability can be exploited by authenticated users with editor or higher rights, so the likelihood depends on the presence of such users on the site. The CVSS score is 6.8, indicating medium severity, but the impact is significant: an attacker can read arbitrary database contents and on multisite networks gain the super administrator’s password hash, enabling a full takeover. The likely attack vector is an authenticated user with editor or higher capability visiting the vulnerable administrative list screen and providing a crafted orderby value to inject SQL. Based on the description, this vector is inferred from the plugin’s use of the unsanitized parameter and the level of access required to view the screen.

Generated by OpenCVE AI on October 16, 2026 at 19:45 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the affiliate‑toolkit plugin to version 3.8.9 or later, which sanitizes the orderby parameter and restricts the list screen to administrator capability.
  • If an update cannot be deployed immediately, restrict the administrative list screen so that only administrator users can access it; for example, by adding a role‑based filter or custom code that blocks editor and lower roles from viewing the screen.
  • Examine the plugin’s input handling for the orderby parameter and implement strict whitelisting of acceptable sort values; if the plugin is not being updated, replace the sort interface with a safe, vetted component that enforces allowed values.

Generated by OpenCVE AI on October 16, 2026 at 19:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 23 Oct 2026 10:15:00 +0000

Type Values Removed Values Added
First Time appeared Wordpress-extensions
Wordpress-extensions affiliate-toolkit
Vendors & Products Wordpress-extensions
Wordpress-extensions affiliate-toolkit

Fri, 16 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

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

ssvc

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


Fri, 16 Oct 2026 13:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-89

Fri, 16 Oct 2026 06:30:00 +0000

Type Values Removed Values Added
Description The affiliate-toolkit WordPress plugin before 3.8.9 does not validate a user-supplied sort value against an allowlist before using it in a database query, and the affected administrative list screen requires only a lower-privilege capability rather than an administrator one, so users with editor-level access and above can perform SQL injection and read arbitrary information from the database. On multisite a sub-site editor can read the network-global users table, including the super administrator's password hash.
Title affiliate-toolkit < 3.8.9 - Editor+ SQL Injection via orderby Parameter
References

Subscriptions

Wordpress-extensions Affiliate-toolkit
cve-icon MITRE

Status: PUBLISHED

Assigner: WPScan

Published:

Updated: 2026-10-16T14:49:19.976Z

Reserved: 2026-10-13T17:12:46.102Z

Link: CVE-2026-110179

cve-icon Vulnrichment

Updated: 2026-10-16T14:35:50.731Z

cve-icon NVD

Status : Deferred

Published: 2026-10-16T07:17:10.807

Modified: 2026-10-16T15:17:09.840

Link: CVE-2026-110179

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-23T10:00:15Z

Weaknesses
  • CWE-89

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