Vulnerabilities / Search & Replace / WPSEC-2026-3084

Search & Replace <= 3.2.3 - Authenticated (Administrator+) SQL Injection via Table Selection

Medium 6.5 CWE-89Fixed in 3.2.4
ID
WPSEC-2026-3084
Plugin
Search & Replace (search-and-replace)
Affected
from 3.2.0 before 3.2.4
Remediation
Update to 3.2.4 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
Weakness
CWE-89
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-13
Attack surface
Search & Replace on WPSec AttackSurface
Fix released
Published

Description

The Search & Replace plugin for WordPress is vulnerable to SQL Injection via the 'select_tables' parameter in all versions up to, and including, 3.2.3. This is due to incomplete validation of the submitted table names: the check looked only at sequential numeric indexes, so entries submitted under other keys were never compared against the list of available tables, and the table names were then concatenated unquoted into DESCRIBE, SELECT and UPDATE queries. This makes it possible for authenticated attackers with administrator-level access, such as a sub-site administrator on a multisite installation, to inject SQL and to read or modify tables outside their own site, such as the network users table.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON or Markdown · All advisories: JSON, RSS

License: CC BY 4.0