CVE-2021-24377
WordPress vulnerability analysis and mitigation

Overview

The vulnerability (CVE-2021-24377) affects the Autoptimize WordPress plugin versions below 2.7.8. It was discovered on October 9, 2020, and involves a race condition vulnerability that could lead to Remote Code Execution (RCE). This vulnerability serves as a bypass of a previously identified issue (CVE-2020-24948) (WPScan).

Technical details

The vulnerability exists in the 'Import Settings' feature of the Autoptimize plugin. While the plugin attempts to remove potentially malicious files from extracted archives, a race condition can be achieved between the moment a file is extracted to disk and its removal. The CVSS score for this vulnerability is 9.1 (Critical), and it is classified under CWE-94 (WPScan).

Impact

If successfully exploited, this vulnerability allows for Remote Code Execution (RCE) on the affected WordPress installations. This could potentially give attackers the ability to execute arbitrary code on the target system (WPScan).

Mitigation and workarounds

The vulnerability has been fixed in Autoptimize version 2.7.8. Users are strongly advised to update their Autoptimize plugin to this version or later to mitigate the risk (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-2025-12966HIGH8.8
  • all-in-one-video-gallery
NoYesDec 06, 2025
CVE-2025-13907MEDIUM6.4
  • css3-buttons
NoNoDec 06, 2025
CVE-2025-13899MEDIUM6.4
  • tr-timthumb
NoNoDec 06, 2025
CVE-2025-13898MEDIUM6.4
  • ultra-skype-button
NoNoDec 06, 2025
CVE-2025-13896MEDIUM6.4
  • social-feed-gallery-portfolio
NoNoDec 06, 2025

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