BlogSafe.org

WordPress CVEs

Search and review WordPress-related vulnerability records.

← Back to CVE list

CVE-2021-24378

MEDIUM 4.8 CVSS 3.1
Published
June 21, 2021
Last modified
June 17, 2026
NVD status
Modified
Reported by
contact@wpscan.com
Weakness
CWE-79
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N

Description

The Autoptimize WordPress plugin before 2.7.8 does not check for malicious files such as .html in the archive uploaded via the 'Import Settings' feature. As a result, it is possible for a high privilege user to upload a malicious file containing JavaScript code inside an archive which will execute when a victim visits index.html inside the plugin directory.

Affected WordPress components

  • Autoptimize Plugin · autoptimize
    Confirmed match Active
    From 2.7.8 (including) to 2.7.8 (excluding); Before 2.7.8
    View on WordPress.org

A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.

Affected products and versions

  • Unknown Autoptimize — From 2.7.8 (including) to 2.7.8 (excluding)
  • autoptimize autoptimize — Before 2.7.8

References

  • wpscan.com https://wpscan.com/vulnerability/375bd694-1a30-41af-bbd4-8a8ee54f0dbf Exploit, Third Party Advisory
  • nvd.nist.gov Official NVD record