CVE-2025-7847
The AI Engine plugin for WordPress is vulnerable to arbitrary file uploads due to missing file type validation in the rest_simpleFileUpload() function in versions 2.9.3 and 2.9.4. This makes it possible for authenticated attackers, with Subscriber-level access and above, to upload arbitrary files on the affected site's server when the REST API is enabled, which may make remote code execution possible.
- Score
- CVSS 3.1 8.8 High
- Status
- Deferred - security@wordfence.com
- Published
- 2025-07-31
- Last modified
- 2025-07-31
- Weaknesses
- CWE-434
Affected products
References
- https://plugins.trac.wordpress.org/browser/ai-engine/tags/2.9.3/classes/api.php#L673
- https://plugins.trac.wordpress.org/browser/ai-engine/tags/2.9.3/classes/modules/files.php#L332
- https://plugins.trac.wordpress.org/changeset/3329842/ai-engine/trunk/classes/api.php
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3332539%40ai-engine&new=3332539%40ai-e…
- https://www.wordfence.com/threat-intel/vulnerabilities/id/1c1c7ec9-d01f-433d-abec-dc2b6ff684c7?source=cve