The W3 Total Cache plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'comment' parameter in
Source GCVE Database
Not known to be exploited · CVSS 5.4 Medium.
Data as of 31 Oct 2026, 10:51 UTC
Thin evidence
One scorer or none| CNA (Wordfence) | CVSS 3.1 | 5.4 |
|---|
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 31 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| boldgridW3 Total Cache | Affected
| Fixed in– |
AI-suggested
Users should consider disabling HTML Minify or the default 'mfunc' ignored-comment stems as a temporary mitigation. Monitor the vendor's advisory channels for official fixes or updates. Avoid relying on this plugin version in environments where untrusted user input is present until a patch is released.
Description
The W3 Total Cache plugin for WordPress up to and including version 2.10.7 is vulnerable to stored cross-site scripting (XSS) via the 'comment' parameter. This vulnerability arises from insufficient input sanitization and output escaping when HTML Minify is enabled with the default 'mfunc' entry in the ignored-comment stems list. Exploitation requires an attacker to predict a time-based placeholder namespace by reading the server clock from the HTTP Date header. Successful exploitation allows injection of arbitrary scripts that execute when users access the affected pages.
References
- nvd.nist.gov/vuln/detail/CVE-2026-120019 (opens in a new tab)
- github.com/BoldGrid/w3-total-cache/commit/35c6896332aff6b41888db0595cf09b4c98c814c (opens in a new tab)
- plugins.trac.wordpress.org/browser/w3-total-cache/tags/2.10.7/Minify_Plugin.php (opens in a new tab)
- plugins.trac.wordpress.org/browser/w3-total-cache/tags/2.10.7/lib/Minify/Minify/IgnoredCommentPreserver.php (opens in a new tab)
- plugins.trac.wordpress.org/browser/w3-total-cache/tags/2.10.7/lib/Minify/Minify/IgnoredCommentPreserver.php (opens in a new tab)
- plugins.trac.wordpress.org/changeset/3757452/w3-total-cache/trunk/lib/Minify/Minify/IgnoredCommentPreserver.php (opens in a new tab)
- wordfence.com/threat-intel/vulnerabilities/id/3a14a537-64e7-415b-be8e-a3a9377fd20d?source=cve (opens in a new tab)