---
id: "CVE-2026-113499"
kind: "vulnerability"
aliases: ["CVE-2026-113499"]
title: "WordPress LiteSpeed Cache plugin: comment text lets visitors run JavaScript"
severity: "high"
cvss: 7.5
epss: 0.00187
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["litespeed-cache", "package", "self-hosted", "wordpress"]
not_affected_if: ["option-disabled", "patched-version"]
published_at: "2026-10-23T06:17:06+00:00"
first_seen_at: "2026-10-23T21:57:32+00:00"
updated_at: "2026-10-25T03:14:59+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-113499", "first_seen_at": "2026-10-23T21:57:32+00:00"}, {"source": "epss", "url": "https://api.first.org/data/v1/epss?cve=CVE-2026-113499", "first_seen_at": "2026-10-24T07:15:51+00:00"}]
---

# WordPress LiteSpeed Cache plugin: comment text lets visitors run JavaScript

Before version 7.9.2, LiteSpeed Cache strips a closing quote from HTML attributes outside stylesheets, so a published comment can inject attributes that run JavaScript. The script runs in the browser of any visitor, including a logged-in administrator.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed plugin version in the WordPress admin plugins list or with `wp plugin get litespeed-cache --field=version`
- Check whether the affected option is enabled in the LiteSpeed Cache settings (the description does not name the option, so treat this as unknown)

## Fix

- Update the LiteSpeed Cache plugin to `7.9.2` or later
- Until updated, disable the affected LiteSpeed Cache option (name unknown from the sources)

## Timeline

- 2026-10-23T21:57:32+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-113499
- 2026-10-24T07:15:51+00:00 epss https://api.first.org/data/v1/epss?cve=CVE-2026-113499

## From the sources

The LiteSpeed Cache WordPress plugin before 7.9.2 does not restrict one of its HTML rewriting routines to stylesheet content, so it removes a quote that terminates an attribute in the rendered page, and combined with unescaped comment author output this allows unauthenticated users whose comment is published to inject attributes that execute JavaScript in the browser of any visitor, including a logged-in administrator, who views front-end pages while the affected option is enabled.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
