Autoptimize < 3.1.7 - Admin+ Stored Cross-Site Scripting via Settings Import
CVE-2023-2113

4.8MEDIUM

Key Information:

Vendor

Wordpress

Vendor
CVE Published:
30 May 2023

Badges

👾 Exploit Exists🟡 Public PoC

Key facts

CVE-2023-2113 is a medium severity (CVSS 4.8) vulnerability in Wordpress Autoptimize. It is known to be exploited in the wild. 1 public proof-of-concept exploit is available. Its EPSS score is 0.5%, the estimated probability of exploitation in the next 30 days. Fixed in Autoptimize 3.1.7.

How risky is it?

  • Partly: Works over the network, but needs a login
  • Yes: Public exploit code (1 proof-of-concept)
  • Yes: Attacked in the wild
  • No: Not on CISA's exploited list

Our verdict

Patch now

Attackers are using it. Patch or mitigate today.

What to do

1Update to a fixed version

Upgrade to one of these versions or later:

Autoptimize3.1.7
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.

3Look for signs of compromise

It has been exploited in the wild, so check logs on exposed Autoptimize systems for unusual requests or new processes from before you patched. The 1 public proof-of-concept show what an attack looks like.

4Why it's rated "Patch now"
  • It is being exploited in the wild.
  • Exploit code is public, so attacks are easy to copy.
  • Its CVSS severity is medium (4.8).

What is CVE-2023-2113?

The Autoptimize WordPress plugin before 3.1.7 does not sanitise and escape the settings imported from a previous export, allowing high privileged users (such as an administrator) to inject arbitrary javascript into the admin panel, even when the unfiltered_html capability is disabled, such as in a multisite setup.

Affected Version(s)

Autoptimize 0 < 3.1.7

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

Deserialization Vulnerability in Ultimate Member Plugin by WordPress

CVE-2026-134481
WordPressUltimate Member😄9.8CRITICAL

Unauthorized Password Reset in User Registration Aide Plugin for WordPress

CVE-2026-121385
WordPressUser Registration Aide👾9.8CRITICAL

Remote Code Execution Vulnerability in WP Duplicate Plugin by WordPress

CVE-2026-14492
WordPressWP Duplicate – WordPre...9.8CRITICAL
View more Wordpress vulnerabilities...

CVSS V3.1

Score:
4.8
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
High
User Interaction:
Required
Scope:
Changed

Timeline

  • 🟡

    Public PoC available

  • 👾

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Credit

Juampa Rodríguez
WPScan
.