# CVE-2021-42362: WordPress Popular Posts <= 5.3.2 Authenticated Arbitrary File Upload

- Severity: High 8.8 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 79.8%, higher than 99% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2021-11-17T17:44:23.922Z
- Modified: 2026-06-17T04:09:41.593Z
- Weaknesses: CWE-434
- Assigned by: Wordfence

## 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.

(As written by CVE List.)

## Affected

- WordPress Popular Posts WordPress Popular Posts: from 0.0 up to 5.3.2
- wordpress_popular_posts_project wordpress_popular_posts: up to 5.3.2

## Every score

- Wordfence: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`

## References

- <https://blog.nintechnet.com/improper-input-validation-fixed-in-wordpress-popular-posts-plugin/> (exploit, third-party-advisory)
- <http://packetstormsecurity.com/files/165376/WordPress-Popular-Posts-5.3.2-Remote-Code-Execution.html> (exploit, third-party-advisory, vdb-entry)
- <https://www.wordfence.com/vulnerability-advisories/#CVE-2021-42362> (third-party-advisory)
- <https://plugins.trac.wordpress.org/changeset/2542638/wordpress-popular-posts/trunk/src/Image.php> (patch, third-party-advisory)
- <https://wpscan.com/vulnerability/bd4f157c-a3d7-4535-a587-0102ba4e3009> (third-party-advisory)
- <https://github.com/cabrerahector/wordpress-popular-posts/commit/d9b274cf6812eb446e4103cb18f69897ec6fe601> (patch)

## Sources

- CVE List: [CVE-2021-42362](https://www.cve.org/CVERecord?id=CVE-2021-42362), CVE Terms of Use, modified 2024-09-16
- NVD: [CVE-2021-42362](https://nvd.nist.gov/vuln/detail/CVE-2021-42362), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-42362 · Whole record: https://cve.day/CVE-2021-42362.json · Rebuilt by cve.day 2026-11-25T22:58:05.611Z
