Back to overview

CVE-2026-12089

MEDIUM
4.9
CVSS 3.1
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.

Metadata

CVE ID
CVE-2026-12089
State
PUBLISHED
Assigner
Wordfence
Reserved
2026-06-12 13:57 UTC
Published
2026-06-13 02:29 UTC
Last updated
2026-06-13 02:29 UTC
Primary CWE
CWE-22
CWE-22 Improper Limitation of a Pathname to a Restricted Dir…
Vendor / Product
aurelienlws / LWS Optimize – All-in-One Speed Booster & Cache Tools
Sources
cve.org  ·  NVD

Severity & Metrics

4.9 MEDIUM CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
Affected products (1)
VendorProductPlatformVersions
aurelienlws LWS Optimize – All-in-One Speed Booster & Cache Tools 0 ≤ 3.3.19
Weakness (CWE)
CWESourceDescription
CWE-22 cna CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CVSS scores (1)
ScoreSeverityVersionSourceVector
4.9 MEDIUM 3.1 cna CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
Back to overview