---
id: CVE-2026-111254
title: >-
  W3 Total Cache <= 2.10.7 - Unauthenticated Stored Cross-Site Scripting via
  Comment Content Cached as HTML after License Expiry
summary: >-
  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 possi…
severity: high
cvss: 7.2
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N'
cvssSource: cna
cwe:
  - CWE-79
vendor: boldgrid
product: W3 Total Cache
affected:
  - w3_total_cache <= 2.10.7
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-01T17:34:55.977038Z'
published: '2026-10-31'
updated: '2026-11-01'
sourceUpdated: '2026-11-01T17:44:30.300Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-111254'
references:
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/0169909e-c6cd-4d08-8301-5e09fce4429c?source=cve
  - url: >-
      https://plugins.trac.wordpress.org/browser/w3-total-cache/tags/2.10.7/Licensing_Plugin_Admin.php#L928
  - url: >-
      https://plugins.trac.wordpress.org/browser/w3-total-cache/tags/2.10.7/PgCache_ContentGrabber.php#L1450
  - url: >-
      https://plugins.trac.wordpress.org/browser/w3-total-cache/tags/2.10.7/PgCache_ContentGrabber.php#L1719
  - url: >-
      https://github.com/BoldGrid/w3-total-cache/commit/7168b0d7cc80e827ad234a0428ab3ecdbef3c107
  - url: >-
      https://plugins.trac.wordpress.org/changeset/3757452/w3-total-cache/trunk/PgCache_ContentGrabber.php
tags:
  - cve.org
epss: 0.00307
epssPercentile: 0.23606
ingestedAt: '2026-11-05T19:30:42.604Z'
---

## Overview

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.

## Affected

- `w3_total_cache <= 2.10.7`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
