CVE-2026-18109
HighCVSS 7.2Exploitation Probability (EPSS)
Low risk18th percentile - higher than 18% of all known CVEs
Summary
The W3 Total Cache plugin for WordPress up to version 2.10.3 is vulnerable to Stored Cross-Site Scripting via Comment Author Name due to insufficient input sanitization and output escaping. The vulnerability is only exploitable when the Lazy Load Images feature is enabled, as the unsafe re-emission occurs exclusively within the LazyLoad mutator's img tag rewriting step.
Risk Assessment
An unauthenticated attacker can inject arbitrary web scripts into pages that will execute whenever a user accesses an injected page, potentially leading to session theft, account takeover, or malware distribution.
Recommendation
Update the W3 Total Cache plugin to the latest patched version. If updating is not possible, consider disabling the Lazy Load Images feature until the patch is applied.
Other vulnerabilities in W3 Total Cache
See all- CVE-2026-39595Medium
W3 Total Cache versions up to 2.9.1 contain a broken access control vulnerability, potentially allowing unauthorized access to resources.
- CVE-2026-18051Critical
The W3 Total Cache WordPress plugin before 2.10.5 does not properly validate the request path used to build cache file names, allowing unauthenticated attackers to write a file into any existing directory on the server, inside or outside the web root, overwriting whatever occupies the target name. On Apache, the same flaw overwrites the site's .htaccess files, which breaks the site and can strip hardening rules that other security measures rely on.
- CVE-2026-57623Critical
The W3 Total Cache plugin versions up to 2.9.4 contain a critical vulnerability allowing unauthenticated remote arbitrary code execution. The flaw stems from insufficient input validation in the caching mechanism.
- CVE-2026-107321Medium
The W3 Total Cache WordPress plugin before 2.10.6 does not confine a media-import file copy to the document root, nor enforce an effective file-type restriction on it, allowing users with the Author role or higher to plant content that, once an administrator runs the import, copies an arbitrary server-readable file into a publicly served directory, exposing it to unauthenticated retrieval.
- CVE-2026-87920High
The W3 Total Cache plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Comment Content via Output-Buffer Regex Rewrite in all versions up to, and including, 2.10.6 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 'Remove query strings from static resources' option is enabled in W3 Total Cache.
- CVE-2026-78438High
The W3 Total Cache plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Comment Content via LazyLoad Background Mutator in all versions up to, and including, 2.10.5 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 requires the "Lazy Load Images" feature with "Process background images" to be enabled, and the malicious comment to be approved by a moderator before execution is triggered.
- CVE-2026-66695Medium
Path Traversal vulnerability in W3 Total Cache versions up to 2.10.2 allows an unauthenticated attacker to access files outside the root directory.
- CVE-2026-9282High
The W3 Total Cache plugin for WordPress up to version 2.9.4 is vulnerable to Directory Traversal via the setupSources function. Unauthenticated attackers can read arbitrary files on the server, potentially exposing sensitive information. Exploitation requires enabling manual minify mode and providing a specific minify filename.
Original NVD description (English source)
The W3 Total Cache plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Comment Author Name in all versions up to, and including, 2.10.3 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 Lazy Load Images feature of W3 Total Cache is enabled, as the unsafe re-emission occurs exclusively within the LazyLoad mutator's img tag rewriting step.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

