Autoptimize <= 2.7.7 - Unsafe File Upload to Cross-Site Scripting

2020-10-09 00:00
Marcin Węgłowski

Strategic Overview

Status
Patched in 2.7.8
Affected PluginAutoptimize
Affected Version< 2.7.8
CVSS4.8Medium
CVECVE-2021-24378
View all Autoptimize vulnerabilities

Vulnerability Overview

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.

Technical Analysis

REMEDIATION: Update to version 2.7.8, or a newer patched version --- IDENTIFIER: CWE-79 (Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

External References

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C