nday
CVE-2021-42362

WordPress Popular Posts <= 5.3.2 Authenticated Arbitrary File Upload

WordPress Popular Posts / WordPress Popular Posts

A public PoC appeared 125 days before the CVE record was published. nday has no fix record for it yet; that does not mean no patch exists. Listed by 2 of 4 PoC sources: exploitdb and metasploit. Not in CISA KEV.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

unrestricted file upload
CWE-434, stated by the CNA Wordfence and NVD, republishing [email protected]
network
AV:N in CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from the CNA Wordfence
no user interaction
UI:N in CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from the CNA Wordfence
Metasploit
Metasploit modules exploit/multi/http/wp_popular_posts_rce
Exploit-DB
Exploit-DB entries 50129
CMS and plugins
affected products in the CVE record: WordPress Popular Posts · WordPress Popular Postsnday's type rule words:wordpress-plugin
stage
POC
disclosed
cvss
8.8 HIGH v3.1

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2021-11-17T17:44Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
2021-07-15, date only
metasploit
ITWexploited
no record yet
KEVKEV
no record yet

Summary

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:L
Low: ordinary user privileges
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS 3.1 vector from the CVE record, scored by the CNA Wordfence.

Event log

2021-07-15date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “WordPress Plugin Popular Posts 5.3.2 - Remote Code Execution (RCE) (Authenticated)” (EDB-50129).

src exploitdb 50129 · nday , bulk import · raw
{
  "id": 41500,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/50129",
  "occurred_at": "2021-07-15T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "50129",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/50129",
    "file": "exploits/php/webapps/50129.py",
    "kind": "exploit",
    "tags": [],
    "type": "webapps",
    "title": "WordPress Plugin Popular Posts 5.3.2 - Remote Code Execution (RCE) (Authenticated)",
    "author": "Simone Cristofaro",
    "edb_id": 50129,
    "cve_ids": [
      "CVE-2021-42362"
    ],
    "platform": "php",
    "verified": false,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2021-07-15",
    "date_updated": "2021-11-24",
    "date_published": "2021-07-15"
  }
}
+DISdisclosed

CVE record published by Wordfence. CVSS 8.8, high.

src cvelist · nday , bulk import · raw
{
  "id": 63448,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2021-42362",
  "occurred_at": "2021-11-17T17:44:23.922Z",
  "observed_at": "2026-11-12T20:03:12.555163Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "version": "3.1",
      "base_score": 8.8,
      "base_severity": "HIGH"
    },
    "state": "PUBLISHED",
    "date_published": "2021-11-17T17:44:23.922Z",
    "assigner_short_name": "Wordfence"
  }
}
time unknownsource gave no time
+POCpublic PoC

Metasploit has module exploit/multi/http/wp_popular_posts_rce (Wordpress Popular Posts Authenticated RCE). The source gives no release time for the module.

src metasploit exploit/multi/http/wp_popular_posts_rce · nday , bulk import · raw
{
  "id": 51512,
  "type": "poc_published",
  "source": "metasploit",
  "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/wp_popular_posts_rce.rb",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:51.477477Z",
  "is_backfill": true,
  "dedupe_key": "exploit/multi/http/wp_popular_posts_rce",
  "detail": {
    "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/wp_popular_posts_rce.rb",
    "kind": "msf_module",
    "path": "/modules/exploits/multi/http/wp_popular_posts_rce.rb",
    "rank": 300,
    "check": true,
    "title": "Wordpress Popular Posts Authenticated RCE",
    "cve_ids": [
      "CVE-2021-42362"
    ],
    "fullname": "exploit/multi/http/wp_popular_posts_rce",
    "rank_name": "normal",
    "confidence": "curated",
    "module_type": "exploit",
    "module_last_modified": "2026-03-11 21:31:08 +0000",
    "vuln_disclosure_date": "2021-06-11"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.