Description
The Better Find and Replace – AI-Powered Suggestions plugin for WordPress is vulnerable to Limited Code Injection in all versions up to, and including, 1.7.7. This is due to insufficient input validation and restriction on the 'rtafar_ajax' function. This makes it possible for authenticated attackers, with Subscriber-level access and above, to call arbitrary plugin functions and execute code within those functions.
Problem types
CWE-94 Improper Control of Generation of Code ('Code Injection')
Product status
* (semver)
Timeline
| 2025-10-28: | Vendor Notified |
| 2025-11-07: | Disclosed |
Credits
ISMAILSHADOW
References
www.wordfence.com/...-3bd3-44fa-aa07-f055e8fcda88?source=cve
plugins.trac.wordpress.org/.../actions/RTAFAR_CustomAjax.php
plugins.trac.wordpress.org/...eplace/trunk/core/lib/Util.php
plugins.trac.wordpress.org/...admin/functions/DbReplacer.php
plugins.trac.wordpress.org/changeset/3389979/