CVE-2021-24145
WordPress vulnerability analysis and mitigation

Overview

CVE-2021-24145 is a vulnerability discovered in the WordPress plugin Modern Events Calendar Lite versions prior to 5.16.5. The vulnerability was publicly disclosed on January 29, 2021, and affects the calendar import functionality of the plugin. The issue allows authenticated users with administrative privileges to upload arbitrary PHP files by manipulating the content-type in the request (WPScan).

Technical details

The vulnerability stems from improper file validation in the import functionality of the Modern Events Calendar Lite plugin. Specifically, the plugin failed to properly validate uploaded files, allowing PHP files to be uploaded by administrators by setting the content-type to 'text/csv' in the request. Additionally, the vulnerability could be exploited through a CSRF attack due to missing security checks (WPScan).

Impact

When successfully exploited, this vulnerability allows authenticated administrators to upload malicious PHP files to the server, which can lead to remote code execution (RCE) with the privileges of the web server user. The uploaded files are stored in the '/wp-content/uploads/' directory of the WordPress installation (WPScan).

Mitigation and workarounds

The vulnerability has been patched in version 5.16.5 of the Modern Events Calendar Lite plugin. Users are strongly advised to update to this version or later to mitigate the risk (WPScan).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-12966HIGH8.8
  • all-in-one-video-gallery
NoYesDec 06, 2025
CVE-2025-13907MEDIUM6.4
  • css3-buttons
NoNoDec 06, 2025
CVE-2025-13899MEDIUM6.4
  • tr-timthumb
NoNoDec 06, 2025
CVE-2025-13898MEDIUM6.4
  • ultra-skype-button
NoNoDec 06, 2025
CVE-2025-13896MEDIUM6.4
  • social-feed-gallery-portfolio
NoNoDec 06, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management