Unauthenticated file upload leads to remote code execution in FileManager4TinyMCE

FileManager4TinyMCE is a file-manager plugin for the TinyMCE 4 editor. Its only access control is a session flag that the plugin sets for every visitor, so anyone on the internet can use its upload, download and delete functions. The upload function keeps the filename the visitor chose and does not check the file type, so an attacker can upload a PHP script and run it on the server.

Severity9.8Critical
CVERequested from MITRE
AffectedAll versions (unmaintained)
FixNone: remove the plugin
Published
November 16, 2026
Product
FileManager4TinyMCE (2b3ez/FileManager4TinyMCE)
Affected versions
All versions, up to and including the final commit 5862aba (2020). No releases were ever tagged.
Weakness
CWE-434, CWE-306, CWE-22
CVSS 3.1
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Credit
Jason Sager

Who is affected

Any website that has tinymce/plugins/filemanager/ from this project reachable over the web. The project has had no commits since 2020 and has no security contact, so no fix is coming.

What goes wrong

  • dialog.php sets $_SESSION["verify"] on every request. This is the plugin's only access check, so simply loading the dialog grants access to everything else.
  • upload.php saves the uploaded file using the browser-supplied filename, into a folder the request names. The plugin defines lists of allowed file extensions but never checks them before saving.
  • force_download.php and delete_file.php use the same session check. Their path check only looks for /tinymce/source/ somewhere in the path, so ../ sequences can reach any file the web server can read or delete.

Impact

An unauthenticated attacker can run their own code on the web server, read any file the web server can read (for example configuration files with database passwords), and delete files.

What to do

  1. Remove the plugin (the tinymce/plugins/filemanager/ folder) and switch to a maintained file manager.
  2. If you can't remove it yet, block all web access to that folder at the web server or proxy.
  3. Check the upload folder and the plugin folder for .php, .phtml or other unexpected files, and review your web server logs for requests to upload.php.

Disclosure timeline

DateEvent
2026-11-16Found and confirmed in Gantrel's isolated lab.
2026-11-16No maintainer or security contact available. Project inactive since 2020.
2026-11-16CVE requested from MITRE (CNA of last resort). Advisory published.

References

Questions about this advisory: [email protected].

All advisories

Found a vulnerability in something you rely on?

Report it to [email protected]. We disclose responsibly and credit the finder.

Get in touch