WordPress security changelog
MEDIUM CVE-2026-12743 Deferred

affiliate-toolkit template sorting permits administrator SQL injection

affiliate-toolkit through 3.8.8 allows an administrator to control the orderby and order request values on the template-management table. atkp_template_table.php passes those values to atkp_template::get_list(), which inserted the escaped but not allowlisted orderby expression into an ORDER BY clause. Version 3.9.0 restricts columns and directions to explicit allowlists and prepares limit and offset values. The CNA identifies a time-based SQL-injection path; exploitation can infer database data through query timing.

CVE / CNA score 4.9 CVSS 3.1 · security@wordfence.com
NVD score Pending NVD has not published its own CVSS assessment.
Component
affiliate-toolkit – Multi-Network Affiliate & Amazon Product Display
Plugin slug
affiliate-toolkit-starter
Affected
<= 3.8.8
Safe version
3.9.0
Published
Aug 14, 2026
Weakness
CWE-89 — Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

This CVE was published Aug 14, 2026 and is one of 10 known issues for this plugin.

Update, patch or deactivate.

Update to 3.9.0 or later. Audit administrator accounts and database or access logs, and rotate secrets if database information may have been exposed.

A safe version is available, so updating to that version or later is the preferred remediation. If an immediate update is not practical, consider a targeted application patch or temporarily restricting the affected functionality.

Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.

Technical description

The affiliate-toolkit – Multi-Network Affiliate & Amazon Product Display plugin for WordPress is vulnerable to time-based SQL Injection via the 'orderby' parameter in all versions up to, and including, 3.8.8 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 administrator-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.

CVE / CNA vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

Primary and upstream sources