WordPress Security ServicesMalware Removal
Plugin Risks

Is WP File Manager Safe? What You Should Know About File Manager Plugins

File manager plugins let you browse, upload and edit your site's files from the WordPress dashboard. That's convenient, and it's exactly why attackers love them. If one has a vulnerability, it hands an attacker the same power over your files. Here's what to know, and what I recommend instead.

Sergey By Sergey, WordPress security specialist Updated 2 min read
In this guide
  1. Why file manager plugins are a target
  2. When a file manager plugin makes sense
  3. Safer ways to manage your files
  4. Check your site now

Why file manager plugins are a target

A file manager plugin can read, upload, edit and delete files across your whole website. If an attacker can reach that function without logging in, through a vulnerability, they can upload a backdoor directly. No password needed.

The best-known example is WP File Manager in 2020. Versions 6.0 to 6.8 contained a vulnerability (CVE-2020-25213) that let anyone upload files without logging in. It was fixed in version 6.9, but attackers began exploiting it at massive scale right away, and huge numbers of sites were attacked before owners updated. Similar issues have been found in other file manager plugins since.

On Reddit and in my own cleanups, file manager plugins keep coming up: sometimes as the way in, and sometimes installed by attackers after they got in, because it gives them an easy way back.

When a file manager plugin makes sense

Honestly: rarely. It’s reasonable as a temporary tool when you have no other way to reach your files. In that case:

  • install it, do the job, and delete it (don’t just deactivate it);
  • keep it updated while it’s installed;
  • restrict access to administrators only, if the plugin allows it.

Safer ways to manage your files

  • SFTP with a client like FileZilla or Cyberduck. Almost every host supports it.
  • Your host’s file manager in cPanel, Plesk or a similar control panel. It runs outside WordPress, so a WordPress vulnerability can’t expose it.
  • SSH and WP-CLI for technical users.
  • Deployment tools (Git, CI/CD) for developers.

Check your site now

  1. Go to Plugins and look for any file manager plugin, including ones you don’t remember installing.
  2. If you don’t need it, delete it.
  3. If you didn’t install it, treat the site as possibly compromised and check for other signs. See Is my WordPress site hacked?

From my cleanup work: one recurring pattern is a site with two or three file manager plugins installed, only one of them by the owner. The others were added by the attacker as spare keys. When I find an unknown file manager, I know before even opening the logs that the site has been compromised.

Sergey, WordPress Security Specialist
About the author
Sergey, WordPress Security Specialist

10 years in WordPress security and incident investigation, and more than 200 websites cleaned of malware. Top Rated on Upwork with a 100% Job Success score. More about me

Frequently Asked Questions

Is the current version of WP File Manager safe?

Any actively maintained plugin is as safe as its latest version and how you configure it. The question isn't so much whether it's safe today, but whether you need a tool with full file access sitting on your site permanently. For most sites, the answer is no.

My host doesn't give me file access. What should I use?

Ask your host for SFTP access: almost all hosts provide it, often in the control panel. If you truly have no other option, install a file manager only when you need it, restrict it to administrators, and delete it straight afterwards.

My site was hacked and has a file manager plugin. Is that how they got in?

It's one of the first places I'd look. Check its version against known vulnerabilities and look in your access logs for requests to the plugin's folder around the time of the hack. Attackers also install file managers themselves after getting in, so an extra one you didn't add is a red flag.

Need a hand?

Let me clean your WordPress site for you

Send me your site URL and what you're seeing. I'll reply with what I think is going on and the next step.

$95 per infected site · 1-month guarantee · direct contact with the specialist

Get My Site Cleaned →