CVE-2021-42362
WordPress Popular Posts <= 5.3.2 Authenticated Arbitrary File Upload
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 79.8%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 99.6% of all scored CVEs. Scores of 1 Dec 2026.
Weakness
- CWE-434 Unrestricted Upload of File with Dangerous Type
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| WordPress Popular Posts |
affected from 0.0 up to and including 5.3.2
Other versions: unaffected
|
Is my server affected?
This CVE is in WordPress Popular Posts of WordPress Popular Posts, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.
Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.
References
Patches and release notes
- https://github.com/cabrerahector/wordpress-popular-posts/commit/d9b274cf6812eb446e4103cb18f69897ec6fe601 github.com · patch
Other references
- https://blog.nintechnet.com/improper-input-validation-fixed-in-wordpress-popular-posts-plugin/ blog.nintechnet.com
- https://www.wordfence.com/vulnerability-advisories/#CVE-2021-42362 wordfence.com
- https://plugins.trac.wordpress.org/changeset/2542638/wordpress-popular-posts/trunk/src/Image.php plugins.trac.wordpress.org
- https://wpscan.com/vulnerability/bd4f157c-a3d7-4535-a587-0102ba4e3009 wpscan.com
- http://packetstormsecurity.com/files/165376/WordPress-Popular-Posts-5.3.2-Remote-Code-Execution.html packetstormsecurity.com
Source: the record CVE-2021-42362 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse