{"id":"CVE-2023-4372","published":"2024-01-11T08:32:29Z","modified":"2026-04-08T16:42:51Z","title":"LiteSpeed Cache <= 5.6 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode","vendor":"litespeedtech","product":"LiteSpeed Cache","tier":"tail","description":{"text":"The LiteSpeed Cache plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'esi' shortcode in versions up to, and including, 5.6 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers with contributor-level and above permissions to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.19501,"percentile":0.97438,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/27026f0f-c85e-4409-9973-4b9cb8a90da5?source=cve","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/litespeed-cache/tags/5.5.1/src/esi.cls.php#L480","tags":[]},{"url":"https://github.com/litespeedtech/lscache_wp/commit/95a407d9f192b37ac6cf96d2aa50f240e3e6b2d7#diff-7b2c514b58d1b8a71655607bdfab87cedb013bc1b8927ce0b49a89ddf4a7e01cR495","tags":[]},{"url":"https://plugins.trac.wordpress.org/changeset/2977143/litespeed-cache#file348","tags":[]}],"priority":{"score":24.0,"factors":[{"name":"EPSS percentile","points":19.49},{"name":"CVSS severity","points":4.48}]},"vendorSlug":"litespeedtech","affectedVersions":[{"vendor":"litespeedtech","product":"LiteSpeed Cache","versions":["<= 5.6"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-01-11T17:40:18.225878Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"The LiteSpeed Cache plugin for WordPress, in versions up to and including 5.6, fails to sanitise user-supplied attributes of its 'esi' shortcode and to escape them on output, leaving a stored cross-site scripting flaw. An attacker with at least contributor-level authenticated access over the network can inject arbitrary web script into pages, which then executes in the browser of any user who views an affected page, with no further user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:39:19Z"},"euvd":{"id":"EUVD-2023-54236","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-litespeedtech-litespeed-cache-cve-2023-4372","children":[{"from":"CVE-2023-4372","to":"CVE-2025-12450","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["litespeed-cache.php"],"commits":["https://github.com/litespeedtech/lscache_wp/commit/95a407d9f192b37ac6cf96d2aa50f240e3e6b2d7","https://github.com/litespeedtech/lscache_wp/commit/3d473f44d37ec2a834162ff1d86c017e9ae67db3"],"basis":"rarely changed file"}]}]}}