Register for the AI for Security Summit: Join Figma, Perplexity & Wiz

CVE-2021-24188
WordPress vulnerability analysis and mitigation

Overview

Multiple WP-Buy plugins were found to contain a vulnerability (CVE-2021-24188) that allows low-privileged users to install and activate arbitrary plugins from the WordPress repository. The vulnerability was discovered on April 22, 2021, affecting multiple plugins including wp-content-copy-protector, conditional-marketing-mailer, captchinoo-captcha-for-login-form-protection, wp-maintenance-mode-site-under-construction, tree-website-map, visitors-traffic-real-time-statistics, wp-limit-failed-login-attempts, and login-as-customer-or-user (WPScan).

Technical details

The vulnerability exists in the AJAX action 'cp_plugins_do_button_job_later_callback' within the settings-start-index.php file. Attackers can exploit this through a POST request to /wp-admin/admin-ajax.php with specific parameters. The vulnerability has been assigned a CVSS score of 9.9 (critical) and is classified as an Access Control issue (CWE-284) (WPScan).

Impact

The vulnerability allows attackers to install any plugin, including specific versions, from the WordPress repository. This capability could be leveraged to install vulnerable plugins, potentially leading to more severe security issues such as Remote Code Execution (RCE). Additionally, the same AJAX action can be used to activate already installed plugins on the blog (WPScan).

Exploitability

The vulnerability can be exploited by sending a crafted POST request with either a 'slug' parameter for plugin installation or a 'plugin_file' parameter for plugin activation. The attack requires only low-privilege user access to execute (WPScan).

Mitigation and workarounds

The vulnerability has been fixed in various versions of the affected plugins: wp-content-copy-protector (3.1.5), conditional-marketing-mailer (1.5.2), captchinoo-captcha-for-login-form-protection (2.4), wp-maintenance-mode-site-under-construction (1.8.2), tree-website-map (2.9), visitors-traffic-real-time-statistics (2.12), wp-limit-failed-login-attempts (2.9), and login-as-customer-or-user (1.8). Users should update to these or later versions (WPScan).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-92541HIGH7.2
  • import-users-from-csv-with-meta
NoYesSep 20, 2026
CVE-2026-92540HIGH7.2
  • import-users-from-csv-with-meta
NoYesSep 20, 2026
CVE-2026-86785MEDIUM5.3
  • woo-to-facebook-shop
NoNoSep 20, 2026
CVE-2026-92965LOW3.7
  • tiktok-for-business
NoYesSep 20, 2026
CVE-2026-92423LOW2.7
  • meow-gallery
NoYesSep 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management