CVE-2021-24145Modern Events Calendar Lite < 5.16.5 - Authenticated Arbitrary File Upload leading to RCE
- 7.2HighCVSS base score
- 88.2%Exploitation in 30 daysEPSS · top 0.2% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- 3Public exploitsMetasploit, Nuclei and Exploit-DB
Description
Arbitrary file upload in the Modern Events Calendar Lite WordPress plugin, versions before 5.16.5, did not properly check the imported file, allowing PHP ones to be uploaded by administrator by using the 'text/csv' content-type in the request.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list a Metasploit module, a Nuclei template and an Exploit-DB entry for it.
Show the exploits3
Metasploit modules1 module
- Wordpress Plugin Modern Events Calendar - Authenticated Remote Code Execution (Metasploit module) (opens in a new tab)
exploit/multi/http/wp_plugin_modern_events_calendar_rceRank excellentdisclosed 29 Jan 2021
Nuclei templates1 template
- WordPress Modern Events Calendar Lite <5.16.5 - Authenticated Arbitrary File Upload (Nuclei template) (opens in a new tab)
http/cves/2021/CVE-2021-24145.yamlSeverity high
Exploit-DB1 entry
- Wordpress Plugin Modern Events Calendar 5.16.2 - Remote Code Execution (Authenticated) (Exploit-DB entry) (opens in a new tab)
EDB-ID 50082webapps, phppublished 2 Jul 2021Not verified
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By WPScan
- 2 months later
· 2 months later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | High7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 88.2% · top 0.2% of all CVEs (16 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.2.
Affected products
Unknown · Modern Events Calendar Lite
- affected 5.16.5 – < 5.16.5
References
References3
- https://wpscan.com/vulnerability/f42cc26b-9aab-4824-8168-b5b8571d1610 (opens in a new tab)x_refsource_MISCx_transferred
- http://packetstormsecurity.com/files/163346/WordPress-Modern-Events-Calendar-5.16.2-Shell-Upload.html (opens in a new tab)x_refsource_MISCx_transferred
- http://packetstormsecurity.com/files/163672/WordPress-Modern-Events-Calendar-Remote-Code-Execution.html (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-11059 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-24145)Record last updated .