CVE-2025-4800: CWE-434 Unrestricted Upload of File with Dangerous Type in StylemixThemes MasterStudy LMS Pro
The MasterStudy LMS Pro plugin for WordPress is vulnerable to arbitrary file uploads due to a missing file type validation in the stm_lms_add_assignment_attachment function in all versions up to, and including, 4.7.0. This makes it possible for authenticated attackers, with Subscriber-level access and above, to upload arbitrary files on the affected site's server, which may make remote code execution possible.
AI Analysis
Technical Summary
CVE-2025-4800 is a vulnerability classified under CWE-434 (Unrestricted Upload of File with Dangerous Type) found in the MasterStudy LMS Pro plugin for WordPress, developed by StylemixThemes. The flaw exists in the stm_lms_add_assignment_attachment function, which fails to properly validate the type of files uploaded by users. This deficiency allows authenticated users with minimal privileges (Subscriber-level or higher) to upload arbitrary files to the server hosting the WordPress site. Because the plugin does not restrict or sanitize the file types, attackers can upload malicious scripts or executables, potentially enabling remote code execution (RCE). The vulnerability affects all versions up to and including 4.7.0, and no patches have been officially released at the time of this report. The CVSS v3.1 base score is 8.8, reflecting a network attack vector with low attack complexity, requiring privileges but no user interaction, and resulting in high confidentiality, integrity, and availability impacts. Although no known exploits are currently in the wild, the vulnerability poses a serious risk due to the common deployment of this LMS plugin in educational institutions and training platforms, which often contain sensitive user data and critical operational information.
Potential Impact
The impact of CVE-2025-4800 is significant for organizations using the MasterStudy LMS Pro plugin. Successful exploitation can lead to remote code execution, allowing attackers to execute arbitrary commands on the web server. This can result in full system compromise, data theft, defacement, or use of the server as a pivot point for further attacks within the network. Educational institutions and e-learning platforms are particularly at risk, as they often store personal information, academic records, and payment data. The vulnerability undermines the confidentiality, integrity, and availability of affected systems. Additionally, since the attack requires only Subscriber-level access, which is commonly granted to registered users or students, the attack surface is broad. The absence of public exploits currently reduces immediate risk but does not diminish the urgency for remediation, as attackers could develop exploits rapidly once details are publicized.
Mitigation Recommendations
To mitigate CVE-2025-4800, organizations should immediately upgrade the MasterStudy LMS Pro plugin to a patched version once available from StylemixThemes. Until a patch is released, administrators should restrict file upload permissions by limiting the roles allowed to upload files, ideally disabling uploads for Subscriber-level users. Implement server-side file type validation and filtering using web application firewalls (WAFs) or custom rules to block dangerous file extensions such as .php, .exe, .js, and others. Employ strict file upload directory permissions to prevent execution of uploaded files, for example, by disabling script execution in upload directories via web server configuration (e.g., using .htaccess rules in Apache). Monitor logs for unusual file upload activity and scan uploaded files for malware. Additionally, consider deploying intrusion detection/prevention systems (IDS/IPS) to detect exploitation attempts. Educate users about the risk and enforce strong authentication policies to reduce the likelihood of compromised accounts being used for exploitation.
Affected Countries
United States, United Kingdom, Germany, France, Canada, Australia, India, Brazil, Japan, South Korea
CVE-2025-4800: CWE-434 Unrestricted Upload of File with Dangerous Type in StylemixThemes MasterStudy LMS Pro
Description
The MasterStudy LMS Pro plugin for WordPress is vulnerable to arbitrary file uploads due to a missing file type validation in the stm_lms_add_assignment_attachment function in all versions up to, and including, 4.7.0. This makes it possible for authenticated attackers, with Subscriber-level access and above, to upload arbitrary files on the affected site's server, which may make remote code execution possible.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-4800 is a vulnerability classified under CWE-434 (Unrestricted Upload of File with Dangerous Type) found in the MasterStudy LMS Pro plugin for WordPress, developed by StylemixThemes. The flaw exists in the stm_lms_add_assignment_attachment function, which fails to properly validate the type of files uploaded by users. This deficiency allows authenticated users with minimal privileges (Subscriber-level or higher) to upload arbitrary files to the server hosting the WordPress site. Because the plugin does not restrict or sanitize the file types, attackers can upload malicious scripts or executables, potentially enabling remote code execution (RCE). The vulnerability affects all versions up to and including 4.7.0, and no patches have been officially released at the time of this report. The CVSS v3.1 base score is 8.8, reflecting a network attack vector with low attack complexity, requiring privileges but no user interaction, and resulting in high confidentiality, integrity, and availability impacts. Although no known exploits are currently in the wild, the vulnerability poses a serious risk due to the common deployment of this LMS plugin in educational institutions and training platforms, which often contain sensitive user data and critical operational information.
Potential Impact
The impact of CVE-2025-4800 is significant for organizations using the MasterStudy LMS Pro plugin. Successful exploitation can lead to remote code execution, allowing attackers to execute arbitrary commands on the web server. This can result in full system compromise, data theft, defacement, or use of the server as a pivot point for further attacks within the network. Educational institutions and e-learning platforms are particularly at risk, as they often store personal information, academic records, and payment data. The vulnerability undermines the confidentiality, integrity, and availability of affected systems. Additionally, since the attack requires only Subscriber-level access, which is commonly granted to registered users or students, the attack surface is broad. The absence of public exploits currently reduces immediate risk but does not diminish the urgency for remediation, as attackers could develop exploits rapidly once details are publicized.
Mitigation Recommendations
To mitigate CVE-2025-4800, organizations should immediately upgrade the MasterStudy LMS Pro plugin to a patched version once available from StylemixThemes. Until a patch is released, administrators should restrict file upload permissions by limiting the roles allowed to upload files, ideally disabling uploads for Subscriber-level users. Implement server-side file type validation and filtering using web application firewalls (WAFs) or custom rules to block dangerous file extensions such as .php, .exe, .js, and others. Employ strict file upload directory permissions to prevent execution of uploaded files, for example, by disabling script execution in upload directories via web server configuration (e.g., using .htaccess rules in Apache). Monitor logs for unusual file upload activity and scan uploaded files for malware. Additionally, consider deploying intrusion detection/prevention systems (IDS/IPS) to detect exploitation attempts. Educate users about the risk and enforce strong authentication policies to reduce the likelihood of compromised accounts being used for exploitation.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-05-15T19:46:25.446Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6836a280182aa0cae238f9b6
Added to database: 5/28/2025, 5:43:28 AM
Last enriched: 2/27/2026, 2:52:25 PM
Last updated: 3/26/2026, 8:56:56 AM
Views: 138
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.