{"schemaVersion":3,"id":"CVE-2021-24946","aliases":[],"status":"published","duplicateOf":null,"title":null,"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","dates":{"published":"2021-12-13T10:41:25.000Z","modified":"2024-08-03T19:49:14.085Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.5,"severity":"high","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"wordfence","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.728,"percentile":0.99447,"severity":"critical","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.728},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.728,"percentile":0.99447}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.728,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.728,"percentile":0.99447}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_HACKER5PREME_EXPLOITS","name":"Exploits","source":"github","url":"https://github.com/Hacker5preme/Exploits/tree/main/Wordpress/CVE-2015-9323","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_BFECBCA986CAF9DA","name":"Exploit Reference (wpscan.com)","source":"reference","url":"https://wpscan.com/vulnerability/09871847-1d6a-4dfe-8a8c-f2f53ff87445","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_1BE291643F14B790","name":"Exploit Reference (packetstormsecurity.com)","source":"reference","url":"http://packetstormsecurity.com/files/165742/WordPress-Modern-Events-Calendar-6.1-SQL-Injection.html","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"50687","name":"WordPress Plugin Modern Events Calendar V 6.1 - SQL Injection (Unauthenticated)","source":"exploit-database","url":"https://www.exploit-db.com/exploits/50687","maturity":"poc","reliabilityScore":0.5,"verified":false,"type":null,"platforms":["php"],"requiresAuth":null,"exploitdb":{"verified":false,"type":"webapps","platform":"php","file":"exploits/php/webapps/50687.py","codes":["CVE-2021-24946"]},"metasploit":null},{"id":"MSF_AUXILIARY_SCANNER_HTTP_WP_MODERN_EVENTS_CALENDAR_SQLI","name":"WordPress Modern Events Calendar SQLi Scanner","source":"metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/scanner/http/wp_modern_events_calendar_sqli.rb","maturity":"poc","reliabilityScore":0.5,"verified":false,"type":"remote","platforms":[],"requiresAuth":false,"exploitdb":null,"metasploit":{"fullname":"auxiliary/scanner/http/wp_modern_events_calendar_sqli","rank":"300","rankName":"normal","postAuth":false,"check":true,"stability":["crash-safe"],"sideEffects":["ioc-in-logs"],"reliability":[]}}],"exploitCount":5,"weaknesses":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","description":"The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/89.html"}],"affected":[{"vendor":"unknown","product":"modern events calendar lite","name":"Modern Events Calendar Lite","label":"modern events calendar lite","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 6.1.5, < 6.1.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 6.1.5, < 6.1.5","eol":null,"hubHref":"/vendor/unknown/modern_events_calendar_lite"},{"vendor":"webnus","product":"modern events calendar lite","name":"Modern Events Calendar Lite","label":"modern events calendar lite","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 6.1.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.1.5","eol":null,"hubHref":"/vendor/webnus/modern_events_calendar_lite"},{"vendor":"wordpress","product":"modern-events-calendar-lite","name":"Modern Events Calendar Lite","label":"modern-events-calendar-lite","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 6.1.5","noFixRecorded":false,"fixedIn":"6.1.5"}],"versionsText":"< 6.1.5","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://wpscan.com/vulnerability/09871847-1d6a-4dfe-8a8c-f2f53ff87445","label":"wpscan.com/vulnerability/09871847-1d6a-4dfe-8a8c-f2f53ff87445","hostname":"wpscan.com","tags":["X Refsource MISC","Exploit","Third Party Advisory"]},{"url":"http://packetstormsecurity.com/files/165742/WordPress-Modern-Events-Calendar-6.1-SQL-Injection.html","label":"packetstormsecurity.com/files/165742/WordPress-Modern-Events-Calendar-6.1-SQL-Injection.html","hostname":"packetstormsecurity.com","tags":["X Refsource MISC","Exploit","Third Party Advisory","VDB Entry"]},{"url":"https://github.com/Hacker5preme/Exploits/tree/main/Wordpress/CVE-2021-24946","label":"github.com/Hacker5preme/Exploits/tree/main/Wordpress/CVE-2021-24946","hostname":"github.com","tags":["X Refsource MISC","Exploit","Third Party Advisory"]},{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/3bfc18fa-905c-408f-bbb4-ce207c322298","label":"www.wordfence.com/threat-intel/vulnerabilities/id/3bfc18fa-905c-408f-bbb4-ce207c322298","hostname":"www.wordfence.com","tags":["Vendor Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2021-12-13T10:41:25.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T19:49:14.085Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T19:10:18.853Z","stale":false,"partial":false}}