Plugin vulnerabilities
Is Autoptimize safe? Known vulnerabilities and the version to run.
Autoptimize: combines, minifies and defers CSS and JavaScript to speed pages up.
The short answer
Run Autoptimize 3.1.16 or later. That version has a fix for every known vulnerability that's been patched.
- Known vulnerabilities
- 15
- In the last 12 months
- 6
- Rated high or critical
- 6
- No fix yet
- 0
Every known Autoptimize vulnerability
Newest first. The most recent was disclosed on 1 October 2026. Each one links to its full record on Wordfence.
| Vulnerability | Severity | Affected versions | Fixed in |
|---|---|---|---|
| Unauthenticated Stored Cross-Site Scripting via Comment Author NameCVE-2026-78471 · 1 October 2026 | Medium 5.4 | 3.1.15.1 and earlier | 3.1.16 |
| Unauthenticated Stored Cross-Site Scripting via REQUEST_URI PathCVE-2026-14995 · 30 September 2026 | High 7.2 | 3.1.15.1 and earlier | 3.1.16 |
| Multiple Plugins <= Multiple Versions - Unauthenticated Stored Cross-Site ScriptingCVE-2026-3220 · 27 April 2026 | High 7.2 | before 3.1.15 | 3.1.15 |
| Authenticated (Contributor+) Stored Cross-Site Scripting via 'ao_post_preload' Meta ValueCVE-2026-2352 · 20 March 2026 | Medium 6.4 | 3.1.14 and earlier | 3.1.15 |
| Authenticated (Contributor+) Stored Cross-Site Scripting via Lazy-loaded Image AttributesCVE-2026-2430 · 20 March 2026 | Medium 6.4 | 3.1.14 and earlier | 3.1.15 |
| Authenticated (Contributor+) Stored Cross-Site ScriptingCVE-2025-13401 · 3 December 2025 | Medium 6.4 | 3.1.13 and earlier | 3.1.14 |
| Authenticated (Admin+) Stored Cross-Site Scripting via Critical CSS RulesCVE-2023-2113 · 25 April 2023 | Medium 4.4 | 3.1.6 and earlier | 3.1.7 |
| Sensitive Information DisclosureCVE-2022-4057 · 5 December 2022 | Medium 5.3 | 3.0.4 and earlier | 3.1.0 |
| Authenticated (Admin+) Stored Cross-Site Scripting via Critical CSS SettingsCVE-2022-2635 · 19 July 2022 | Medium 5.5 | 3.1.0 and earlier | 3.1.1 |
| Stored Cross-Site ScriptingCVE-2021-24332 · 7 May 2021 | Medium 5.5 | before 2.8.4 | 2.8.4 |
| Arbitrary File Upload (and Remote Code Execution) via Import SettingsCVE-2021-24376 · 9 October 2020 | Critical 9.8 | before 2.7.8 | 2.7.8 |
| Unsafe File Upload to Cross-Site ScriptingCVE-2021-24378 · 9 October 2020 | Medium 4.8 | before 2.7.8 | 2.7.8 |
| Race Condition leading to Remote Code ExecutionCVE-2021-24377 · 9 October 2020 | High 8.1 | before 2.7.8 | 2.7.8 |
| Authenticated Arbitrary File UploadCVE-2020-24948 · 24 August 2020 | High 7.2 | 2.7.6 and earlier | 2.7.7 |
| Unauthenticated Local File Inclusion19 June 2017 | Critical 9.8 | 2.1.0 and earlier | 2.1.1 |
If you run Autoptimize
What to do now
- Check your version. In WordPress, go to Plugins and look under Autoptimize. Compare it with the affected versions above.
- Update to 3.1.16 or later. Take a backup first, then update. If the update breaks something, you can restore the backup while you work out why.
- Check the rest of your site. One outdated plugin is rarely the only one. Our free security check looks at your WordPress version, and the plugins and theme it can see from the outside, for known flaws and emails you a report.
Pressfort keeps your plugins up to date for you, testing each update on a copy of your site first, and its virtual patching blocks attacks on newly disclosed flaws, often before a fix is out. If your site does get hacked, two clean-ups a year are included, with a developer stepping in when needed. See how it works.
Caching and performance
Related plugins
LiteSpeed Cache
A caching and speed plugin, mainly for sites on LiteSpeed web servers.
30 known12 in the last year
EWWW Image Optimizer
Compresses images and converts them to WebP to make pages load faster.
14 known8 in the last year
SiteGround Speed Optimizer
SiteGround's caching and performance plugin, often preinstalled on sites hosted there.
5 known3 in the last year
WP Fastest Cache
A simple caching plugin for speeding up WordPress.
39 known5 in the last year
WP-Optimize
Cleans the database, compresses images and caches pages to speed a site up.
5 known2 in the last year
Smush
Compresses, resizes and lazy-loads images.
11 known5 in the last year
Data sources and licences
Vulnerability data comes from Wordfence Intelligence and is refreshed daily. Severity is the CVSS score given in each record. Pressfort is not affiliated with Wordfence or Defiant Inc.
Copyright 2012-2026 Defiant Inc.
Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy.
https://www.wordfence.com/wordfence-intelligence-terms-and-conditions/
Copyright 1999-2026 The MITRE Corporation
CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE®). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy.
Not sure yet?
Find out how exposed your site is.
Send us your site address and get a free, plain-English report of what we find. We check from the outside, so there are no logins to hand over and nothing to install.
- Known vulnerability in 1 pluginGallery plugin, file upload flawUrgent
- WordPress is out of dateRunning 6.7.1, latest is 6.8.3To fix
- 6 plugins and 1 theme out of dateOldest is 14 months behindTo fix