Home

Description

The LWS Optimize – All-in-One Speed Booster & Cache Tools plugin for WordPress is vulnerable to Arbitrary File Read in versions up to, and including, 3.3.19. This is due to the combine_current_css() function trusting <link rel="stylesheet" href="..."> values harvested from page HTML and converting same-site URLs to absolute filesystem paths before reading them with file_get_contents()/Minify\CSS::add(), without enforcing that the resolved path stay within ABSPATH or have a .css extension. This makes it possible for authenticated attackers, with Editor-level access and above, to read arbitrary files.

PUBLISHED Reserved 2026-06-12 | Published 2026-06-13 | Updated 2026-06-15 | Assigner Wordfence




MEDIUM: 4.9CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

Problem types

CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Product status

Default status
unaffected

Any version
affected

Timeline

2026-06-12:Disclosed

Credits

Omar Elshopky finder

References

www.wordfence.com/...-753c-40fa-aee4-7d8c1749d037?source=cve

plugins.trac.wordpress.org/...ront/LwsOptimizeCSSManager.php

plugins.trac.wordpress.org/...ront/LwsOptimizeCSSManager.php

cve.org (CVE-2026-12089)

nvd.nist.gov (CVE-2026-12089)

Download JSON