Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-9334: CWE-94 Improper Control of Generation of Code ('Code Injection') in codesolz Better Find and Replace – AI-Powered Suggestions

0
High
VulnerabilityCVE-2025-9334cvecve-2025-9334cwe-94
Published: Sat Nov 08 2025 (11/08/2025, 05:52:43 UTC)
Source: CVE Database V5
Vendor/Project: codesolz
Product: Better Find and Replace – AI-Powered Suggestions

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.

AI-Powered Analysis

AILast updated: 11/08/2025, 06:16:10 UTC

Technical Analysis

The vulnerability identified as CVE-2025-9334 affects the 'Better Find and Replace – AI-Powered Suggestions' WordPress plugin developed by codesolz. It is classified under CWE-94, indicating improper control of code generation, commonly known as code injection. The root cause is insufficient input validation and lack of restrictions in the 'rtafar_ajax' function, which is accessible to authenticated users with Subscriber-level privileges or higher. This function allows calling arbitrary plugin functions, enabling attackers to execute arbitrary code within the context of the WordPress site. Since the vulnerability requires only low-privilege authentication and no user interaction, it significantly lowers the barrier for exploitation. The CVSS 3.1 score of 8.8 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) highlights that the attack can be performed remotely over the network with low complexity, requiring only limited privileges, and results in high impact on confidentiality, integrity, and availability. Although no public exploits are currently known, the potential for full site compromise is substantial. The plugin is widely used for content management and search-replace operations enhanced by AI suggestions, making it attractive for attackers to leverage this vulnerability for persistent code execution, data theft, or site defacement. The lack of available patches at the time of publication increases the urgency for mitigation.

Potential Impact

For European organizations, this vulnerability poses a significant risk to WordPress-based websites, which are commonly used for corporate, governmental, and e-commerce purposes. Exploitation could lead to unauthorized data access, defacement, malware deployment, or complete site takeover, impacting business continuity and reputation. The high impact on confidentiality, integrity, and availability means sensitive customer data and internal information could be exposed or altered. Additionally, compromised sites could be used as launchpads for further attacks within the network or for distributing malware to visitors. Given the widespread use of WordPress in Europe, especially in countries with large digital economies, the threat could affect a broad range of sectors including finance, healthcare, public administration, and retail. The absence of known exploits currently provides a window for proactive defense, but the ease of exploitation and low privilege requirement increase the likelihood of future attacks.

Mitigation Recommendations

1. Immediately restrict access to the 'Better Find and Replace – AI-Powered Suggestions' plugin functionalities to trusted administrators only, minimizing the number of users with Subscriber-level or higher privileges who can interact with it. 2. Monitor WordPress user accounts for unusual privilege escalations or suspicious activity, especially focusing on Subscriber-level accounts. 3. Implement Web Application Firewall (WAF) rules to detect and block anomalous AJAX requests targeting the 'rtafar_ajax' function or related plugin endpoints. 4. Regularly audit installed plugins and remove or disable any that are not essential, reducing the attack surface. 5. Once a patch or update is released by the vendor, prioritize its deployment across all affected systems. 6. Employ intrusion detection systems to monitor for signs of code injection or unauthorized code execution within WordPress environments. 7. Educate site administrators on the risks of granting unnecessary privileges and the importance of plugin security hygiene. 8. Consider isolating WordPress instances in segmented network zones to limit lateral movement in case of compromise.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.2
Assigner Short Name
Wordfence
Date Reserved
2025-08-21T23:29:44.529Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 690edcb42137a290ee0198e6

Added to database: 11/8/2025, 6:01:24 AM

Last enriched: 11/8/2025, 6:16:10 AM

Last updated: 11/8/2025, 12:44:46 PM

Views: 13

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats