XSS in Autoptimize

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.

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.006 (46.7th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 4.8 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2021-24378?
CVE-2021-24378 is a medium-severity vulnerability in Autoptimize, classified under Cross-site Scripting. CVSS score: 4.8/10. Published 2021-06-21.
How severe is CVE-2021-24378?
Medium severity. CVSS v3 base score is 4.8 out of 10.
Is CVE-2021-24378 known to be exploited?
4 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.