CVE-2026-130039 in Cache Plugininfo

Summary

by MITRE • 11/27/2026

The LiteSpeed Cache plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'REQUEST_URI' parameter in all versions up to, and including, 7.9.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. Successful exploitation requires comments to be open, a comment author name containing a literal quotation mark stored via WordPress's ENT_NOQUOTES save pipeline, a raw HTTP client capable of sending unencoded " and > characters in the request path, and — under default WordPress moderation — prior moderator approval of the crafted comment.

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Analysis

by VulDB Data Team • 11/27/2026

The LiteSpeed Cache plugin for WordPress contains a critical security vulnerability classified as Stored Cross-Site Scripting within all versions up to 7.9.3. This flaw stems from insufficient input sanitization and output escaping mechanisms when processing the REQUEST_URI parameter. The vulnerability allows unauthenticated attackers to inject arbitrary web scripts into pages that are subsequently executed whenever other users access those specific pages. Unlike reflected XSS, this stored variant persists in the application's database or cache, meaning the malicious payload is served automatically to victims without requiring further interaction from the attacker beyond the initial injection attempt.

The technical root cause lies in how WordPress handles comment data under its default configuration. Specifically, when a comment author name contains a literal quotation mark, it is stored via WordPress's ENT_NOQUOTES save pipeline. This specific encoding mode does not escape double quotes effectively in all contexts where they are later rendered by the LiteSpeed Cache plugin. Consequently, if an attacker crafts a request with unencoded special characters such as double quotes and greater-than signs in the HTTP path, these characters can break out of existing HTML attributes or script blocks when the cached page is served to end users.

Successful exploitation of this vulnerability requires several specific conditions to align simultaneously. First, comments must be enabled on the target WordPress site. Second, the attacker must use a raw HTTP client capable of sending unencoded special characters in the request path rather than relying on standard browser encoding which might neutralize the payload. Third, under default WordPress moderation settings, the crafted comment containing the malicious script injection point requires prior moderator approval before it becomes visible to other users. This requirement adds a layer of friction for attackers but does not eliminate the risk, particularly on sites with active community engagement or lax moderation policies.

The operational impact of this vulnerability is significant as it facilitates persistent session hijacking, defacement, and potentially malware distribution through injected scripts. Attackers can steal administrative cookies, redirect users to phishing pages, or execute actions on behalf of authenticated users who view the compromised page. This aligns with CWE-79 Improper Neutralization of Input During Web Page Generation commonly known as Cross-site Scripting. The attack vector is categorized under ATT&CK technique T1059 Command and Scripting Interpreter via browser-based execution, specifically leveraging stored payloads to achieve persistent access or impact without repeated exploitation attempts for each victim.

Mitigation strategies should prioritize immediate upgrading of the LiteSpeed Cache plugin to a version that addresses this input validation flaw. Administrators must ensure that all special characters in user-supplied data are properly escaped before being rendered in HTML contexts, particularly within cached content. Implementing strict Content Security Policy headers can also help mitigate the impact by restricting the sources from which scripts can be loaded and executed. Additionally, enabling automatic comment moderation or requiring CAPTCHA verification for comments can reduce the likelihood of successful injection attempts reaching end users while patches are applied. Regular security audits and penetration testing should be conducted to identify similar input handling weaknesses in other plugins or core functionalities that may expose the application to analogous risks.

Responsible

Wordfence

Reservation

11/16/2026

Disclosure

11/27/2026

Moderation

accepted

CPE

ready

EPSS

0.00378

KEV

no

Activities

very low

Sources

Do you know our Splunk app?

Download it now for free!