Autoptimize < 2.7.8 - Authenticated Stored XSS via File Upload
CVE-2021-24378
Key facts
CVE-2021-24378 is a medium severity (CVSS 4.8) vulnerability in Wordpress Autoptimize. No exploitation in the wild or public proof-of-concept has been recorded so far. Its EPSS score is 0.6%, the estimated probability of exploitation in the next 30 days.
How risky is it?
- Partly: Works over the network, but needs a login
- No: No public exploit code yet
- No: No attacks seen yet
- No: Not on CISA's exploited list
Our verdict
Monitor
Low risk for most. Patch in your normal cycle.
What to do
1Check the vendor's fix
No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.
2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach Autoptimize. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Why it's rated "Monitor"
- Its CVSS severity is medium (4.8).
What is CVE-2021-24378?
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 Version(s)
Autoptimize 2.7.8