Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-130318: medium-severity vulnerability (CVSS 5.4) in boldgrid W3 Total Cache.
What happened
Original description from the source: 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.11.0 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. This vulnerability is only exploitable when the W3 Total Cache CDN feature is enabled, as the vulnerable output-buffer filter is not active otherwise.
Why it matters
Medium severity, CVSS 5.4.
Affected products and versions
boldgrid W3 Total Cache <= 2.11.0
| Product | Versions | Fixed in |
|---|---|---|
| boldgrid W3 Total Cache | <= 2.11.0 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://www.wordfence.com/threat-intel/vulnerabilities/id/6fc81b51-4bda-4267-82c9-2c767cbe39b7?source=cve — CVE Program
- https://plugins.trac.wordpress.org/browser/w3-total-cache/tags/2.11.0/Cdn_Plugin.php#L1144 — CVE Program
- https://plugins.trac.wordpress.org/browser/w3-total-cache/tags/2.11.0/Cdn_Plugin.php#L1217 — CVE Program
- https://plugins.trac.wordpress.org/browser/w3-total-cache/tags/2.11.0/Cdn_Plugin.php#L1260 — CVE Program
- https://plugins.trac.wordpress.org/browser/w3-total-cache/tags/2.11.0/Cdn_Plugin.php#L496 — CVE Program
- https://github.com/BoldGrid/w3-total-cache/tree/2.11.1 — CVE Program
Weaknesses (CWE): CWE-79
Relevant change history
Published
Preliminary advisory published.