# CVE-2021-24332: Autoptimize < 2.8.4 - Authenticated Stored Cross-Site Scripting (XSS)

- 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.63%, higher than 51% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-05-24T10:58:05.000Z
- Modified: 2026-06-17T03:39:50.850Z
- Weaknesses: CWE-79
- Assigned by: WPScan

## Description

The Autoptimize WordPress plugin before 2.8.4 was missing proper escaping and sanitisation in some of its settings, allowing high privilege users to set XSS payloads in them, leading to stored Cross-Site Scripting issues

(As written by CVE List.)

## Affected

- Unknown Autoptimize: from 2.8.4 before 2.8.4
- autoptimize autoptimize: before 2.8.4

## Every score

- NVD: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`

## References

- <https://wpscan.com/vulnerability/6678e064-ce21-4bb2-8c50-061073fb22fb> (exploit, third-party-advisory)
- <https://m0ze.ru/vulnerability/%5B2021-04-01%5D-%5BWordPress%5D-%5BCWE-79%5D-Autoptimize-WordPress-Plugin-v2.8.3.txt>

## Sources

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

---

Page: https://cve.day/CVE-2021-24332 · Whole record: https://cve.day/CVE-2021-24332.json · Rebuilt by cve.day 2026-11-25T22:58:01.505Z
