# CVE-2022-2635: Autoptimize < 3.1.1 - Admin+ Stored Cross Site Scripting

- Severity: Medium 4.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.66%, higher than 52% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-09-16T08:40:30.000Z
- Modified: 2026-06-17T04:42:15.357Z
- Weaknesses: CWE-79
- Assigned by: WPScan

## Description

The Autoptimize WordPress plugin before 3.1.1 does not sanitise and escape some of its settings, which could allow high privilege users such as admin to perform Stored Cross-Site Scripting attacks even when the unfiltered_html capability is disallowed (for example in multisite setup)

(As written by CVE List.)

## Affected

- Unknown Autoptimize: from 3.1.1 before 3.1.1
- autoptimize autoptimize: before 3.1.1

## References

- <https://wpscan.com/vulnerability/219767a8-2427-42d5-8734-bd197d9ab46b> (exploit, third-party-advisory)

## Sources

- CVE List: [CVE-2022-2635](https://www.cve.org/CVERecord?id=CVE-2022-2635), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2022-2635](https://nvd.nist.gov/vuln/detail/CVE-2022-2635), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-2635 · Whole record: https://cve.day/CVE-2022-2635.json · Rebuilt by cve.day 2026-11-25T22:58:14.997Z
