Skip to main content

CVE-2026-87920: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in boldgrid W3 Total Cache

0
High
VulnerabilityCVE-2026-87920cvecve-2026-87920cwe-79
Published: 10/02/2026 (10/02/2026, 09:25:56 UTC)
Source: CVE Database V5
Vendor/Project: boldgrid
Product: W3 Total Cache

Description

The W3 Total Cache WordPress plugin up to version 2.10.6 contains a stored cross-site scripting (XSS) vulnerability. This flaw arises from improper input sanitization and output escaping in the handling of comment content when the 'Remove query strings from static resources' option is enabled. An unauthenticated attacker can inject malicious scripts that execute in the context of users visiting the affected pages. The vulnerability depends on a specific plugin feature that alters URL query strings, enabling the injection. The CVSS score is 7.2, indicating a high severity issue.

CVSS v3.1

Score 7.2high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

Affected software

boldgrid

W3 Total Cache

Affected versions
>=0 <=2.10.6

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/02/2026, 10:01:12 UTC

Technical Analysis

CVE-2026-87920 is a stored cross-site scripting vulnerability in the W3 Total Cache plugin for WordPress, affecting all versions up to and including 2.10.6. The vulnerability occurs due to insufficient sanitization and escaping of comment content during output-buffer regex rewriting, specifically when the 'Remove query strings from static resources' option is enabled. This option causes the mutate_url() function to strip the '?' delimiter and subsequent characters, including the closing quote of an HTML attribute, breaking the attribute boundary and allowing injection of arbitrary web scripts. The vulnerability allows unauthenticated attackers to inject scripts that execute in the context of users viewing the injected pages.

Potential Impact

Successful exploitation allows unauthenticated attackers to perform stored cross-site scripting attacks, leading to the execution of arbitrary scripts in the browsers of users who visit the affected pages. This can result in information disclosure and integrity impacts, such as theft of user credentials or session tokens. The CVSS 3.1 base score is 7.2 (high), reflecting network attack vector, low attack complexity, no privileges or user interaction required, and impacts on confidentiality and integrity with no availability impact.

Mitigation Recommendations

No official patch or fix is currently documented in the provided data. Users should check the vendor advisory for updates. Until a fix is available, disabling the 'Remove query strings from static resources' option in W3 Total Cache will prevent exploitation by avoiding the URL mutation that enables the XSS injection. Monitoring vendor channels for an official patch or update is recommended.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Wordfence
Date Reserved
2026-09-09T16:02:41.405Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6abf7d8da43b0b3b899e5d4e

Added to database: 10/02/2026, 09:46:53 UTC

Last enriched: 10/02/2026, 10:01:12 UTC

Last updated: 10/02/2026, 10:10:40 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses