W3 Total Cache stored XSS in REST caching of comments
boldgrid W3 Total Cache
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| boldgrid W3 Total Cache |
| No fix yet |
Original description
The W3 Total Cache plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'comment' parameter in all versions up to, and including, 2.10.7 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Exploitation requires that a Pro license was previously active with REST caching enabled and has since become inactive while Disk Enhanced page caching remains configured, and that the attacker holds a previously approved commenter identity.
From the CVE record · Wordfence