CVE-2021-4458 Modern Events Calendar Lite <= 6.3.0 - Unauthenticated SQL Injection
Unauthenticated attackers can extract sensitive database information via SQL injection in the Modern Events Calendar Lite plugin when addslashes is disabled.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-4458?
CVE-2021-4458 is a medium-severity SQL injection vulnerability in webnus/ Modern Events Calendar Lite, published on 12 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The Modern Events Calendar Lite plugin for WordPress is vulnerable to SQL Injection via the 'id' parameter of the 'wp_ajax_mec_load_single_page' AJAX action in all versions up to, and including, 6.3.0 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. This is only exploitable on sites with addslashes disabled.
Weakness: CWE-89
Which versions are affected by CVE-2021-4458?
It affects 1 product.
Products include Webnus Modern Events Calendar Lite.
How do I fix CVE-2021-4458?
No fix has been published for CVE-2021-4458 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2021-4458 being exploited?
There is no known exploitation of CVE-2021-4458 in the wild and no public exploit code.
Other vulnerabilities in webnus/ Modern Events Calendar Lite
- CVE-2021-24946 Modern Events Calendar < 6.1.5 - Unauthenticated Blind SQL Injection
- CVE-2021-24149 Modern Events Calendar Lite < 5.16.6 - Authenticated SQL Injection
- CVE-2021-24146 Modern Events Calendar Lite < 5.16.5 - Unauthenticated Events Export
- CVE-2021-24145 Modern Events Calendar Lite < 5.16.5 - Authenticated Arbitrary File Upload leading to RCE
- CVE-2021-24925 Modern Events Calendar Lite < 6.1.5 - Reflected Cross-Site Scripting
Sources
Also known as GHSA-gcj4-979g-33cw.