WordPress Popular Posts <= 5.3.2 - Authenticated Arbitrary File Upload

Unrestricted Upload of File with Dangerous Type
CVE CVE-2021-42362
CVSS 8.8 (High)
Publicly Published November 12, 2021
Last Updated January 22, 2024
Researcher Jerome Bruandet - NinTechNet


The WordPress Popular Posts WordPress plugin is vulnerable to arbitrary file uploads due to insufficient input file type validation found in the ~/src/Image.php file which makes it possible for attackers with contributor level access and above to upload malicious files that can be used to obtain remote code execution, in versions up to and including 5.3.2.



1 affected software package

Software Type Plugin
Software Slug wordpress-popular-posts (view on wordpress.org)
Patched? Yes
Remediation Update to version 5.3.3, or a newer patched version
Affected Version
  • <= 5.3.2
Patched Version
  • 5.3.3

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.