# CVE-2021-24427: W3 Total Cache < 2.1.3 - Authenticated Stored 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.62%, higher than 51% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-07-12T19:20:58.000Z
- Modified: 2026-06-17T03:40:00.463Z
- Weaknesses: CWE-79
- Assigned by: WPScan

## Description

The W3 Total Cache WordPress plugin before 2.1.3 did not sanitise or escape some of its CDN settings, allowing high privilege users to use JavaScript in them, which will be output in the page, leading to an authenticated Stored Cross-Site Scripting issue

(As written by CVE List.)

## Affected

- BoldGrid W3 Total Cache: from 2.1.3 before 2.1.3
- boldgrid w3_total_cache: before 2.1.3

## 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/5da5ce9a-82a6-404f-8dec-795d7905b3f9> (exploit, third-party-advisory)
- <https://m0ze.ru/vulnerability/%5B2021-04-25%5D-%5BWordPress%5D-%5BCWE-79%5D-W3-Total-Cache-WordPress-Plugin-v2.1.2.txt>

## Sources

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

---

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