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

4.8
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVE CVE-2021-24378
CVSS 4.8 (Medium)
Publicly Published October 9, 2020
Last Updated January 19, 2023
Researcher Marcin Węgłowski

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.

References

Share

1 affected software package

Software Type Plugin
Software Slug autoptimize (view on wordpress.org)
Patched? Yes
Remediation Update to version 2.7.8, or a newer patched version
Affected Version
  • < 2.7.8
Patched Version
  • 2.7.8

All the threat data shared in this database is powered by Wordfence Intelligence Enterprise.
Interested in integrating this data into your platform or network?
Contact us now to discuss API access to our Wordfence Intelligence Enterprise Data Feeds.

Inquire Now

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation