Autoptimize < 2.7.8 - Authenticated Stored XSS via File Upload
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Unknown | Autoptimize | 2.7.8 to before 2.7.8 | 2.7.8 | Patch available | CNA |
- Autoptimize VendorUnknown Affected 2.7.8 to before 2.7.8 Fixed in 2.7.8 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:autoptimize:autoptimize:*:*:*:*:*:wordpress:*:* | before 2.7.8 | Vulnerable | Autoptimize |
- cpe:2.3:a:autoptimize:autoptimize:*:*:*:*:*:wordpress:*:* Versions before 2.7.8 Vulnerable ·Autoptimize
Remediation
- Fix · CNA Autoptimize (Unknown) Fixed in 2.7.8
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
Autoptimize 2.7.8
3 records Highest priority Priority MEDIUM 1 MEDIUM, 2 LOW
Other records, highest priority first
- TI-2021-06668 Autoptimize < 2.7.8 - Arbitrary File Upload via "Import Settings"Priority MEDIUM 48
- TI-2021-06669 Autoptimize < 2.7.8 - Race Condition leading to RCEPriority LOW 38
Timeline
- 2026-10-02 Threatist record created from CVE-2021-24378
- 2026-10-03 Alias added: GHSA-27r4-rp49-685c
References
More Autoptimize vulnerabilities
- TI-2023-01988 Autoptimize < 3.1.7 - Admin+ Stored Cross-Site Scripting via Settings Import CVSS 3.1MEDIUM 4.8
- TI-2021-06668 Autoptimize < 2.7.8 - Arbitrary File Upload via "Import Settings" CVSS 3.1CRITICAL 9.8
- TI-2020-15253 The ao_ccss_import AJAX call in Autoptimize Wordpress Plugin 2.7.6 does not ensure that… CVSS 3.1HIGH 7.2
- TI-2021-06669 Autoptimize < 2.7.8 - Race Condition leading to RCE CVSS 3.1HIGH 8.1
- TI-2022-02436 Autoptimize < 3.1.1 - Admin+ Stored Cross Site Scripting CVSS 3.1MEDIUM 4.8
- TI-2021-06624 Autoptimize < 2.8.4 - Authenticated Stored Cross-Site Scripting (XSS) CVSS 3.1MEDIUM 4.8
Sources
- CVE-2021-24378 · CVE Program
- CVE-2021-24378 · NVD
- FIRST EPSS
- GHSA-27r4-rp49-685c · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences