On this page
CVE Details
- Protection status: Protected by Atomicorp rules · About protection statuses
- CVE: CVE-2021-42362
- Name: Wordpress Popular Posts Authenticated RCE
- Severity: High
- CVSS: 8.8 (v3.1) (High)
- CVSS version: 3.1
- CVSS source: Wordfence CNA
- CVSS vector:
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H- Attack vector: Network
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- CWE: CWE-434 — Unrestricted Upload of File with Dangerous Type
- Related CAPEC attack patterns (via MITRE CWE relationships): CAPEC-1 (opens in a new tab)
- Vendor: wordpress popular posts project
- Vulnerable product: wordpress popular posts
- CVE published: 2021-11-17
- CVE last modified: 2026-06-17
- Affected versions (NVD configurations):
- wordpress popular posts: <= 5.3.2
- EPSS: 0.7982; 99.6th percentile as of 2026-09-29 (FIRST (opens in a new tab) )
- Latest Update: 2026-09-29
- Selected Rule IDs observed: 330791 , 340152
- Matching rules: 2; rules with blocking actions: 2
- Would-block Rule IDs: 330791 , 340152
Technical vulnerability details · CVSS assessments, exploit evidence & CPE data
CVSS assessments
CVSS v3.1 · security@wordfence.com
- Base score: 8.8
- Base severity: HIGH
- Exploitability subscore: 2.8
- Impact subscore: 5.9
- Assessment type: Secondary
- Source identifier: security@wordfence.com
- Full vector:
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H- Attack vector: Network
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- Exploit maturity: Not scored
CVSS v2.0 · NVD
- Base score: 6.5
- Base severity: MEDIUM
- Exploitability subscore: 8.0
- Impact subscore: 6.4
- Assessment type: Primary
- Source identifier: nvd@nist.gov
- Full vector:
AV:N/AC:L/Au:S/C:P/I:P/A:P- Attack vector: Network
- Attack complexity: Low
- Authentication: Single
- Confidentiality impact: Partial
- Integrity impact: Partial
- Availability impact: Partial
- Exploit maturity: Not scored
Exploitability and impact subscores describe the vulnerability’s technical characteristics. Exploit maturity describes the reported state of exploitation; these are separate measures.
Assessment source: NVD record (opens in a new tab) · CVE record (opens in a new tab)
Exploit references
The CVE source data tags these references as exploits. A reference alone does not establish reliability or active exploitation.
Vulnerable CPE configurations
cpe:2.3:a:wordpress_popular_posts_project:wordpress_popular_posts:*:*:*:*:*:wordpress:*:*- Version end (inclusive):
5.3.2 - NVD match criteria ID:
FEC317D4-B717-4E9E-B3E0-0E719E80E25B
- Version end (inclusive):
Vulnerability 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.
Recommended Actions
Maintain the observed Atomicorp protections. Keep your Atomicorp commercial rules current and confirm that the selected observed rules (330791 , 340152 ) have not been locally disabled. Atomicorp commercial rules are enabled by default. If you use Atomic WAF, review the applicable policy and rule settings.
Apply the vendor’s remediation. WAF protection is defense in depth and does not replace upgrading or following the affected vendor’s guidance.
- Affected versions: WordPress Popular Posts versions through 5.3.2.
- CNA guidance source: Wordfence (opens in a new tab)
- Vendor recommendation: Update to version 5.3.3 or newer.
Validate after changes. Confirm rule updates are current, review WAF events for the affected application, and test application behavior after vendor upgrades, mitigations, or local policy changes.
Research Notes
Atomicorp WAF protections are designed around attack techniques and exploit behaviors, allowing existing protections to apply across multiple vulnerabilities without requiring a unique rule for every CVE.
Public Vulnerability References
- NVD (opens in a new tab)
- CVE Record (opens in a new tab)
- Exploit or technical research: http://packetstormsecurity.com/files/165376/WordPress-Popular-Posts-5.3.2-Remote-Code-Execution.html (opens in a new tab)
- Exploit or technical research: https://blog.nintechnet.com/improper-input-validation-fixed-in-wordpress-popular-posts-plugin/ (opens in a new tab)
- CVE authority reference: https://github.com/cabrerahector/wordpress-popular-posts/commit/d9b274cf6812eb446e4103cb18f69897ec6fe601 (opens in a new tab)
- Patch or mitigation: https://plugins.trac.wordpress.org/changeset/2542638/wordpress-popular-posts/trunk/src/Image.php (opens in a new tab)
- Exploit or technical research: https://wpscan.com/vulnerability/bd4f157c-a3d7-4535-a587-0102ba4e3009 (opens in a new tab)
- Exploit or technical research: https://www.wordfence.com/vulnerability-advisories/#CVE-2021-42362 (opens in a new tab)
Test or Research Source
- Source: Metasploit exploit/multi/http/wp_popular_posts_rce (opens in a new tab)
- Tags: CVE-2021-42362, cve, http, metasploit, replay
Research Note Context
This research note documents exploit-technique analysis associated with this vulnerability and references Atomicorp WAF protections observed during engineering review, testing, or validation activities.
Atomicorp security controls are generally designed to identify and mitigate attack techniques and exploit behaviors rather than individual CVE identifiers. As a result, protections developed for one vulnerability may also apply to related attack variants and future vulnerabilities using similar techniques.
Learn More
Atomicorp develops commercially supported security technologies for web applications, servers, endpoints, workloads, and legacy enterprise platforms.
Organizations interested in protecting systems against exploit techniques associated with vulnerabilities such as this one can learn more about:
- Atomic ModSecurity Rules: commercially maintained WAF rules for ModSecurity deployments, including protections for web attacks, bots, scanners, malware, exploitation attempts, and emerging vulnerability classes.
- Atomic WAF: an enterprise web application firewall with Atomicorp rules, centralized management, reporting, authentication controls, and operational tooling.
- Atomic ModSecurity Integrator: a special licensing option for MSPs, MSSPs, OEMs, VARs, reverse proxy providers, and other integrators who want to incorporate Atomicorp ModSecurity rule technology into their own products or services.
- Atomic OSSEC: an enterprise OSSEC-based intrusion detection, compliance, and security monitoring platform.
- Atomic Protector: workload protection for Linux, web, cloud, data center, and hybrid environments.
For additional information, product evaluations, or technical discussions, visit https://www.atomicorp.com/ or https://modsecurity.io/ (opens in a new tab) .