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

- Priority: **Routine**
- Reason: Not severe (CVSS 4.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-05-30 · Modified: 2025-01-10
- Record: https://cvemate.com/vulnerability/CVE-2023-2113 · JSON: https://cvemate.com/vulnerability/CVE-2023-2113/json

## Description

```text
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.
```

## Signals

- CVSS: 4.8 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
- EPSS: 0.47%, percentile 42.288%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- autoptimize autoptimize: \< 3.1.7
- unknown autoptimize: \< 3.1.7
- wordpress autoptimize: ≤ 3.1.6 (fixed in 3.1.7)

## References

- <https://wpscan.com/vulnerability/ddb4c95d-bbee-4095-aed6-25f6b8e63011>
- <https://www.wordfence.com/threat-intel/vulnerabilities/id/d16a3da0-9539-4555-8dfc-65cb4f4d7b4d>

---

Data as of 2026-12-05T13:26:08.075Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
