Better Search Replace <= 1.4 - Authenticated (Administrator+) SQL Injection

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVE CVE-2022-2593
CVSS High (7.2)
Publicly Published August 1, 2022
Last Updated January 22, 2024
Researcher Christiaan Swiers (YouGina)
Description

The plugin Better Search Replace for WordPress is vulnerable to SQL Injection in versions up to, and including, 1.4. This is due to lack of sanitization of user input in the construction of a database query. This makes it possible for authenticated attackers with administrator-level accounts to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.

References

1 affected software package

Software Type Plugin
Software Slug better-search-replace (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 1.4
Patched Version
  • 1.4.1
This record contains material that is subject to copyright

Copyright 2012-2026 Defiant Inc.
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. License Detail.