Modern Events Calendar Lite <= 6.1.0 - Reflected Cross-Site Scripting via current_month_divider parameter
Strategic Overview
- Status
- Patched in 6.1.5
- Affected Plugin
- Modern Events Calendar Lite
- Affected Version
<= 6.1.0- CVSS
- 6.1Medium
- Weakness type
- CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- CVE
CVE-2021-24925
At a glance
CVE-2021-24925 is a medium-severity Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in the Modern Events Calendar Lite WordPress plugin, affecting versions <= 6.1.0. It carries a CVSS score of 6.1 (reachable over the network; low attack complexity). Exploitation requires no authentication. The issue is fixed in version 6.1.5; sites on affected versions should update now. Disclosed November 2021, reported by Krzysztof Zając.
Vulnerability Overview
The Modern Events Calendar Lite WordPress plugin before 6.1.5 does not sanitise and escape the current_month_divider parameter of its mec_list_load_more AJAX call (available to both unauthenticated and authenticated users) before outputting it back in the response, leading to a Reflected Cross-Site Scripting issue
Technical Analysis
The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no privileges on the target site.
CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Reaching this weakness in Modern Events Calendar Lite <= 6.1.0 takes a caller who can reach the endpoint. Cross-site scripting happens when input from a request is written into a page without being escaped for the context it lands in, so the browser parses attacker-supplied text as markup or script.
Injected script runs with the privileges of whoever views the affected page, which is how these flaws turn into administrator session theft, silent account creation or persistent backdoors in page content. For Modern Events Calendar Lite the fix is 6.1.5: builds <= 6.1.0 are affected, anything from 6.1.5 onward is not.
Remediation
Update to version 6.1.5, or a newer patched version
How does WordSec protect against this?
The attempt arrives as an ordinary request to Modern Events Calendar Lite: WordSec's web application firewall inspects request payloads before WordPress loads them. None of that substitutes for the fix: Modern Events Calendar Lite 6.1.5 closes this, and updating the plugin is the step that ends it.
- Firewall
- Alerts
External References
Related records
Same weakness class
- 6.4CVE-2022-30533: Modern Events Calendar Lite <= 6.2.9 XSS
CVE-2022-30533 - 6.4CVE-2022-0364: Modern Events Calendar Lite <= 6.3.0 Stored XSS
CVE-2022-0364 - 6.4CVE-2021-24147: Modern Events Calendar Lite <= 5.16.4 Stored XSS
CVE-2021-24147 - 5.5CVE-2022-27848: Modern Events Calendar Lite <= 6.5.1 Stored XSS
CVE-2022-27848
Other vulnerabilities in Modern Events Calendar Lite
- 9.8CVE-2021-24946: Modern Events Calendar Lite Blind SQL Injection
CVE-2021-24946 - 8.8CVE-2024-5441: Modern Events Calendar <= 7.11.0 Arbitrary File Upload
CVE-2024-5441 - 8.8CVE-2021-24149: Modern Events Calendar Lite <= 5.16.5 SQL Injection
CVE-2021-24149 - 8.5CVE-2024-6522: Modern Events Calendar <= 7.12.1 SSRF
CVE-2024-6522 - 7.5CVE-2026-11349: Modern Events Calendar (Lite & Pro) SQL Injection
CVE-2026-11349 - 7.5CVE-2021-24146: Modern Events Calendar Lite <= 5.16.4 Events Export
CVE-2021-24146 - 7.2CVE-2021-24145: Modern Events Calendar Lite Arbitrary File Upload
CVE-2021-24145 - 5.9CVE-2021-4458: Modern Events Calendar Lite <= 6.3.0 SQL Injection
CVE-2021-4458
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C