Overview
The CVE-2025-3740 vulnerability refers to a Local File Inclusion (LFI) flaw found in the School Management System for WordPress plugin. This vulnerability, which affects all versions up to and including 93.1.0, could potentially allow an authenticated attacker to execute arbitrary PHP code files on a server. This flaw is particularly concerning as it can be used to bypass access controls, gain sensitive data, or achieve code execution in cases where images and other “safe” file types can be uploaded and included. As a result, systems that use this WordPress plugin are at risk for data leakage or potential system compromise.
Vulnerability Summary
CVE ID: CVE-2025-3740
Severity: Critical (CVSS: 8.8)
Attack Vector: Local
Privileges Required: Subscriber-level access
User Interaction: Required
Impact: System compromise and potential 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
School Management System for WordPress | Up to and including 93.1.0
How the Exploit Works
The exploit takes advantage of a Local File Inclusion vulnerability in the ‘page’ parameter of the School Management System for WordPress plugin. An attacker with Subscriber-level access or above can include and execute arbitrary files on the server. This allows the execution of any PHP code in those files, which can be used to bypass access controls or obtain sensitive data. In cases where images and other supposedly “safe” file types can be uploaded and included, this exploit can also achieve code execution. This vulnerability can further be chained with other exploits to include various dashboard view files in the plugin, potentially leading to privilege escalation.
Conceptual Example Code
Below is a conceptual example of how the exploit might be triggered. This is a representation of a malicious HTTP request that an attacker could send.
POST /wp-admin/admin-ajax.php?action=sms_manage_page HTTP/1.1
Host: target.example.com
Content-Type: application/json
{ "page": "/path/to/malicious/file.php" }
In the above example, the attacker is attempting to include a malicious PHP file located at “/path/to/malicious/file.php”. If successful, this would allow the attacker to execute arbitrary PHP code on the server.