← All plugins

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.

VulnerabilitySeverityAffected versionsFixed in
Unauthenticated Stored Cross-Site Scripting via Comment Author NameCVE-2026-78471 · 1 October 2026Medium 5.43.1.15.1 and earlier3.1.16
Unauthenticated Stored Cross-Site Scripting via REQUEST_URI PathCVE-2026-14995 · 30 September 2026High 7.23.1.15.1 and earlier3.1.16
Multiple Plugins <= Multiple Versions - Unauthenticated Stored Cross-Site ScriptingCVE-2026-3220 · 27 April 2026High 7.2before 3.1.153.1.15
Authenticated (Contributor+) Stored Cross-Site Scripting via 'ao_post_preload' Meta ValueCVE-2026-2352 · 20 March 2026Medium 6.43.1.14 and earlier3.1.15
Authenticated (Contributor+) Stored Cross-Site Scripting via Lazy-loaded Image AttributesCVE-2026-2430 · 20 March 2026Medium 6.43.1.14 and earlier3.1.15
Authenticated (Contributor+) Stored Cross-Site ScriptingCVE-2025-13401 · 3 December 2025Medium 6.43.1.13 and earlier3.1.14
Authenticated (Admin+) Stored Cross-Site Scripting via Critical CSS RulesCVE-2023-2113 · 25 April 2023Medium 4.43.1.6 and earlier3.1.7
Sensitive Information DisclosureCVE-2022-4057 · 5 December 2022Medium 5.33.0.4 and earlier3.1.0
Authenticated (Admin+) Stored Cross-Site Scripting via Critical CSS SettingsCVE-2022-2635 · 19 July 2022Medium 5.53.1.0 and earlier3.1.1
Stored Cross-Site ScriptingCVE-2021-24332 · 7 May 2021Medium 5.5before 2.8.42.8.4
Arbitrary File Upload (and Remote Code Execution) via Import SettingsCVE-2021-24376 · 9 October 2020Critical 9.8before 2.7.82.7.8
Unsafe File Upload to Cross-Site ScriptingCVE-2021-24378 · 9 October 2020Medium 4.8before 2.7.82.7.8
Race Condition leading to Remote Code ExecutionCVE-2021-24377 · 9 October 2020High 8.1before 2.7.82.7.8
Authenticated Arbitrary File UploadCVE-2020-24948 · 24 August 2020High 7.22.7.6 and earlier2.7.7
Unauthenticated Local File Inclusion19 June 2017Critical 9.82.1.0 and earlier2.1.1

If you run Autoptimize

What to do now

  1. Check your version. In WordPress, go to Plugins and look under Autoptimize. Compare it with the affected versions above.
  2. 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.
  3. 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

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.

https://www.cve.org/Legal/TermsOfUse

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.

Security check
yourbusiness.com
Example
1 urgent2 to fix
  • 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