CVE-2021-42362
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…
Does this matter?
EPSS puts the probability of exploitation in the next 30 days at 79.8%, higher than 100% of all known CVEs. Patch or mitigate before the next change window.
Description
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.
- CVSS 3.1
- 8.8 HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 79.82% probability · 100th percentile
- Public exploits
- 1 in Exploit-DB · first 15 July 2021
- CISA KEV
- Not listed
- Weakness
- CWE-434
- Affected
- wordpress popular posts project/wordpress popular posts
- Source
- security@wordfence.com
EPSS 79.8% since 3 November 2026; no change recorded yet. The dashed line is the ten per cent mark our analysts treat as “patch before the next change window”. Points are recorded when the score first appears and whenever it moves by a percentage point or more.
Public exploits (1)
Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.
References
- http://packetstormsecurity.com/files/165376/WordPress-Popular-Posts-5.3.2-Remote-Code-Execution.htmlExploit, Third Party Advisory, VDB Entry
- https://blog.nintechnet.com/improper-input-validation-fixed-in-wordpress-popular-posts-plugin/Exploit, Third Party Advisory
- https://github.com/cabrerahector/wordpress-popular-posts/commit/d9b274cf6812eb446e4103cb18f69897ec6fe601
- https://plugins.trac.wordpress.org/changeset/2542638/wordpress-popular-posts/trunk/src/Image.phpPatch, Third Party Advisory
- https://wpscan.com/vulnerability/bd4f157c-a3d7-4535-a587-0102ba4e3009Third Party Advisory
- https://www.wordfence.com/vulnerability-advisories/#CVE-2021-42362Third Party Advisory
- http://packetstormsecurity.com/files/165376/WordPress-Popular-Posts-5.3.2-Remote-Code-Execution.htmlExploit, Third Party Advisory, VDB Entry
- https://blog.nintechnet.com/improper-input-validation-fixed-in-wordpress-popular-posts-plugin/Exploit, Third Party Advisory
- https://github.com/cabrerahector/wordpress-popular-posts/commit/d9b274cf6812eb446e4103cb18f69897ec6fe601
- https://plugins.trac.wordpress.org/changeset/2542638/wordpress-popular-posts/trunk/src/Image.phpPatch, Third Party Advisory
- https://wpscan.com/vulnerability/bd4f157c-a3d7-4535-a587-0102ba4e3009Third Party Advisory
- https://www.wordfence.com/vulnerability-advisories/#CVE-2021-42362Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.