CVE-2021-24378: Autoptimize < 2.7.8 - Authenticated Stored XSS via File Upload

Published Jun 21, 2021
·
Updated

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 Software

1 affected component
Autoptimize Autoptimize Wordpress<2.7.8

Event History

Jun 21, 2021
CVE Published
via MITRE·07:18 PM
Data Sourced
via MITRE·07:18 PM
DescriptionWeakness

Frequently Asked Questions

1

What is the severity of CVE-2021-24378?

CVE-2021-24378 is considered to have a high severity due to the potential for remote code execution through malicious file uploads.

2

How do I fix CVE-2021-24378?

To fix CVE-2021-24378, update the Autoptimize WordPress plugin to version 2.7.8 or later.

3

What versions of Autoptimize are affected by CVE-2021-24378?

CVE-2021-24378 affects all versions of Autoptimize prior to 2.7.8.

4

What type of files can be maliciously uploaded due to CVE-2021-24378?

Due to CVE-2021-24378, a user could potentially upload malicious .html files containing JavaScript code.

5

Who is at risk from CVE-2021-24378?

High privilege users of the Autoptimize plugin on vulnerable WordPress installations are at risk from CVE-2021-24378.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203