Read the docs
TI-2021-06668 Aliases CVE-2021-24376GHSA-8637-ph22-g43w

Autoptimize < 2.7.8 - Arbitrary File Upload via "Import Settings"

Priority MEDIUM 48CWE-434Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-434.

Summary

The Autoptimize WordPress plugin before 2.7.8 attempts to delete malicious files (such as .php) form the uploaded archive via the "Import Settings" feature, after its extraction. However, the extracted folders are not checked and it is possible to upload a zip which contained a directory with PHP file in it and then it is not removed from the disk. It is a bypass of CVE-2020-24948 which allows sending a PHP file via the "Import Settings" functionality to achieve Remote Code Execution.

Why it matters now

EPSS 0.03727 89th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed Autoptimize (Unknown): 2.7.8

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
UnknownAutoptimize2.7.8 to before 2.7.82.7.8Patch availableCNA
  • Autoptimize VendorUnknown Affected 2.7.8 to before 2.7.8 Fixed in 2.7.8 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:autoptimize:autoptimize:*:*:*:*:*:wordpress:*:*before 2.7.8VulnerableAutoptimize
  • cpe:2.3:a:autoptimize:autoptimize:*:*:*:*:*:wordpress:*:* Versions before 2.7.8 Vulnerable ·Autoptimize

Remediation

  • Fix · CNA Autoptimize (Unknown) Fixed in 2.7.8

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    Autoptimize 2.7.8

    3 records Highest priority Priority MEDIUM 1 MEDIUM, 2 LOW

    Other records, highest priority first

    • TI-2021-06669 Autoptimize < 2.7.8 - Race Condition leading to RCEPriority LOW 38
    • TI-2021-06670 Autoptimize < 2.7.8 - Authenticated Stored XSS via File UploadPriority LOW 23

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-24376
  2. 2026-10-03 Alias added: GHSA-8637-ph22-g43w

References

  • TI-2023-01988 Autoptimize < 3.1.7 - Admin+ Stored Cross-Site Scripting via Settings Import CVSS 3.1MEDIUM 4.8
  • TI-2020-15253 The ao_ccss_import AJAX call in Autoptimize Wordpress Plugin 2.7.6 does not ensure that… CVSS 3.1HIGH 7.2
  • TI-2021-06669 Autoptimize < 2.7.8 - Race Condition leading to RCE CVSS 3.1HIGH 8.1
  • TI-2022-02436 Autoptimize < 3.1.1 - Admin+ Stored Cross Site Scripting CVSS 3.1MEDIUM 4.8
  • TI-2021-06670 Autoptimize < 2.7.8 - Authenticated Stored XSS via File Upload CVSS 3.1MEDIUM 4.8
  • TI-2021-06624 Autoptimize < 2.8.4 - Authenticated Stored Cross-Site Scripting (XSS) CVSS 3.1MEDIUM 4.8

Sources