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-12360: CWE-285 Improper Authorization in codesolz Better Find and Replace – AI-Powered Suggestions

0
Medium
VulnerabilityCVE-2025-12360cvecve-2025-12360cwe-285
Published: Thu Nov 06 2025 (11/06/2025, 07:27:05 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 unauthorized API usage due to a missing capability check on the rtafar_ajax() function in all versions up to, and including, 1.7.7. This makes it possible for authenticated attackers, with Subscriber-level access, to trigger OpenAI API key usage resulting in quota consumption potentially incurring cost.

AI-Powered Analysis

AILast updated: 11/13/2025, 08:02:36 UTC

Technical Analysis

The vulnerability identified as CVE-2025-12360 affects the WordPress plugin 'Better Find and Replace – AI-Powered Suggestions' developed by codesolz. It stems from improper authorization (CWE-285) due to the absence of a capability check in the rtafar_ajax() function, which handles AJAX requests related to the plugin's AI-powered features. This flaw allows any authenticated user, even those with minimal privileges such as Subscribers, to invoke the plugin's AJAX endpoint and trigger calls to the OpenAI API using the site owner's API key. Because the plugin does not verify whether the user has sufficient permissions to perform this action, attackers can cause excessive API usage, leading to quota depletion and potential financial costs for the site owner. The vulnerability affects all plugin versions up to 1.7.7, with no patches currently available. The CVSS v3.1 base score is 4.3 (medium severity), reflecting that the attack vector is network-based, requires low privileges, no user interaction, and impacts integrity but not confidentiality or availability. There are no known exploits in the wild, but the risk lies primarily in unauthorized consumption of API resources and associated costs. The flaw does not allow data leakage or site compromise but can be leveraged for resource abuse. Since the plugin is integrated into WordPress sites, the attack surface includes any site with this plugin installed and active. The vulnerability highlights the importance of enforcing proper authorization checks on API endpoints, especially when external services with cost implications are involved.

Potential Impact

For European organizations, the primary impact is financial and operational rather than direct data breach or service disruption. Unauthorized API calls to OpenAI can rapidly consume allocated quotas, leading to unexpected charges or service throttling. Organizations relying on this plugin for content management or AI-assisted editing may face increased operational costs and potential service interruptions if API limits are exhausted. While confidentiality and availability remain unaffected, the integrity of API usage is compromised, which could also lead to billing disputes or difficulties in auditing API consumption. Organizations with multiple WordPress sites using this plugin are at higher risk due to potential widespread abuse. Additionally, if attackers use the API excessively, it could degrade legitimate AI-powered functionalities, impacting productivity. The vulnerability may also be exploited as part of a broader attack chain to cause financial harm or distract security teams. Given the widespread use of WordPress in Europe, especially among SMEs and content-driven organizations, the risk is non-negligible. Compliance with data protection regulations is not directly impacted, but financial controls and resource governance are challenged.

Mitigation Recommendations

Immediate mitigation steps include restricting plugin usage to trusted users only and monitoring API usage closely for anomalies. Site administrators should audit user roles and permissions to ensure that Subscriber-level accounts are limited and monitored. Since no official patch is available yet, organizations can implement custom code to add capability checks on the rtafar_ajax() function or disable the AJAX endpoint entirely if AI-powered suggestions are not critical. Alternatively, temporarily removing or deactivating the plugin until a fix is released is advisable. Monitoring OpenAI API usage and setting strict quota limits or alerts can help detect and prevent abuse. Organizations should also consider rotating the OpenAI API key if abuse is suspected. Regularly updating the plugin once a patch is released is essential. Implementing web application firewalls (WAFs) with rules to restrict access to the vulnerable AJAX endpoint based on user roles or IP addresses can provide additional protection. Finally, educating users about the risks of unauthorized API usage and enforcing strong authentication and user management policies will reduce exploitation likelihood.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.2
Assigner Short Name
Wordfence
Date Reserved
2025-10-27T16:20:33.609Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 690c517b03d96811746f9a52

Added to database: 11/6/2025, 7:42:51 AM

Last enriched: 11/13/2025, 8:02:36 AM

Last updated: 12/20/2025, 5:40:29 PM

Views: 95

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