CVE-2021-24145: 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

high Affects modern-events-calendar-lite (WordPress plugin). Feed 2026.11.23.2, updated 2026-11-23; published ; advisory modified .

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

Package
modern-events-calendar-lite (WordPress plugin) WordPress
Affected versions
<5.16.5
Fixed in
5.16.5
Severity
high  CVSS 7.2
Exploitation
not on CISA KEV · EPSS 88% (99.8th percentile)
Published
2021-03-18
Source
nvd

References

CWE-434
NVD recordmodern-events-calendar-lite (WordPress plugin) advisories

Quick answers

Is CVE-2021-24145 being actively exploited?

It is not on CISA's Known Exploited Vulnerabilities list today. FIRST's EPSS model puts the chance of exploitation in the next 30 days at 88%.

Which version fixes CVE-2021-24145?

modern-events-calendar-lite (WordPress plugin): 5.16.5.

How do I check whether I am affected?

Run `phpwarden wordpress /path/to/wordpress`. phpwarden checks the exact version you have installed against this advisory.

Am I affected?

Find out in one command. phpwarden checks your WordPress install against this advisory and 21,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.

# PHP projects (recommended)
composer require --dev phpwarden/phpwarden
# then
vendor/bin/phpwarden wordpress /path/to/wordpress

# or, without Composer
pipx install phpwarden   &&   phpwarden wordpress /path/to/wordpress

Or keep it checked automatically with the GitHub Action or a nightly cron; see WordPress docs.

Install docs   How findings are ranked

Related advisories