Autoptimize <= 2.7.7 - Unsafe File Upload to Cross-Site Scripting
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.
CVE-2021-24378 is a medium severity with CVSS 4.8 File Upload issue affecting the Plugin Autoptimize. It affects Versions before 2.7.8 and is fixed in 2.7.8.
CVE-2021-24378 is tracked for the Plugin Autoptimize as medium severity with CVSS 4.8. The affected range is Versions before 2.7.8. Update Autoptimize to 2.7.8 or newer where that version is compatible with the site.
| Software Type | Plugin |
|---|---|
| Software Slug |
autoptimize
View on wordpress.org
|
| CVE | CVE-2021-24378 |
| Patched Versions |
2.7.8
|
| Affected Versions |
Versions before 2.7.8
|
Related CVEs for Autoptimize
These internal links group the same WordPress plugin by CVE, issue type, severity, and patch status so operators and search engines can connect the full vulnerability cluster.
Autoptimize <= 2.7.7 - Arbitrary File Upload (and Remote Code Execution) via Import Settings
Autoptimize <= 2.7.7 - Race Condition leading to Remote Code Execution
Autoptimize <= 2.7.6 - Authenticated Arbitrary File Upload
Autoptimize <= 3.1.14 - Authenticated (Contributor+) Stored Cross-Site Scripting via Lazy-loaded Image Attributes
Autoptimize <= 3.1.14 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'ao_post_preload' Meta Value
Autoptimize <= 3.1.13 - Authenticated (Contributor+) Stored Cross-Site Scripting
Autoptimize <= 3.1.0 - Authenticated (Admin+) Stored Cross-Site Scripting via Critical CSS Settings
Autoptimize <= 2.8.3 - Stored Cross-Site Scripting
This record contains material that is subject to copyright
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. Read more
License: CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE®). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy. Read more