2026-09-19 8:27CVE-2026-76579Wordfence
PUBLISHED5.2CWE-79

LiteSpeed Cache <= 7.9 - Reflected Cross-Site Scripting via ESI 'esi' Parameter

The LiteSpeed Cache plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the 'esi' parameter in all versions up to, and including, 7.9 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link. Exploitation requires that the attacker supply a validly signed 'esi' value in the GET query string while submitting a separate attacker-controlled 'esi' payload as a POST body field, relying on PHP's default $_REQUEST merge order to have the POST value take precedence at the point of execution.

Problem type

Affected products

litespeedtech

LiteSpeed Cache

<= 7.9 - AFFECTED

References

GitHub Security Advisories

GHSA-jf4h-cq6m-xhwf

The LiteSpeed Cache plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the ...

https://github.com/advisories/GHSA-jf4h-cq6m-xhwf

The LiteSpeed Cache plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the 'esi' parameter in all versions up to, and including, 7.9 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link. Exploitation requires that the attacker supply a validly signed 'esi' value in the GET query string while submitting a separate attacker-controlled 'esi' payload as a POST body field, relying on PHP's default $_REQUEST merge order to have the POST value take precedence at the point of execution.

JSON source

https://cveawg.mitre.org/api/cve/CVE-2026-76579
Click to expand
{
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "cveMetadata": {
    "cveId": "CVE-2026-76579",
    "assignerOrgId": "b15e7b5b-3da4-40ae-a43c-f7aa60e62599",
    "assignerShortName": "Wordfence",
    "dateUpdated": "2026-09-19T08:27:23.566Z",
    "dateReserved": "2026-08-19T14:03:14.526Z",
    "datePublished": "2026-09-19T08:27:23.566Z",
    "state": "PUBLISHED"
  },
  "containers": {
    "cna": {
      "providerMetadata": {
        "orgId": "b15e7b5b-3da4-40ae-a43c-f7aa60e62599",
        "shortName": "Wordfence",
        "dateUpdated": "2026-09-19T08:27:23.566Z"
      },
      "title": "LiteSpeed Cache <= 7.9 - Reflected Cross-Site Scripting via ESI 'esi' Parameter",
      "descriptions": [
        {
          "lang": "en",
          "value": "The LiteSpeed Cache plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the 'esi' parameter in all versions up to, and including, 7.9 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link. Exploitation requires that the attacker supply a validly signed 'esi' value in the GET query string while submitting a separate attacker-controlled 'esi' payload as a POST body field, relying on PHP's default $_REQUEST merge order to have the POST value take precedence at the point of execution."
        }
      ],
      "affected": [
        {
          "vendor": "litespeedtech",
          "product": "LiteSpeed Cache",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "0",
              "status": "affected",
              "versionType": "semver",
              "lessThanOrEqual": "7.9"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "lang": "en",
              "description": "CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')",
              "cweId": "CWE-79",
              "type": "CWE"
            }
          ]
        }
      ],
      "references": [
        {
          "url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/ba236f86-0434-4030-8e14-4db3919226eb?source=cve"
        },
        {
          "url": "https://plugins.trac.wordpress.org/browser/litespeed-cache/tags/7.9/src/esi.cls.php#L855"
        },
        {
          "url": "https://plugins.trac.wordpress.org/browser/litespeed-cache/tags/7.9/src/esi.cls.php#L617"
        },
        {
          "url": "https://plugins.trac.wordpress.org/browser/litespeed-cache/tags/7.9/src/esi.cls.php#L591"
        },
        {
          "url": "https://plugins.trac.wordpress.org/browser/litespeed-cache/tags/7.9/src/esi.cls.php#L566"
        },
        {
          "url": "https://plugins.trac.wordpress.org/changeset?reponame=&new=3676856%40litespeed-cache%2Ftags%2F7.9.1&old=3635849%40litespeed-cache%2Ftags%2F7.9"
        },
        {
          "url": "https://plugins.trac.wordpress.org/changeset/3676856/litespeed-cache/trunk/src/esi.cls.php"
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "version": "3.1",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N",
            "baseScore": 4.7,
            "baseSeverity": "MEDIUM"
          }
        }
      ],
      "timeline": [
        {
          "time": "2026-08-19T14:18:31.000Z",
          "lang": "en",
          "value": "Vendor Notified"
        },
        {
          "time": "2026-09-18T19:46:10.000Z",
          "lang": "en",
          "value": "Disclosed"
        }
      ],
      "credits": [
        {
          "lang": "en",
          "value": "mak3bread",
          "type": "finder"
        }
      ]
    }
  }
}