CVE-2026-12089
JSON

4.9medium

WS Optimize – All-in-One Speed Booster & Cache Tools <= 3.3.19 - Authenticated (Editor+) Arbitrary File Read

Severity
4.9medium CVSS:3.1 by Wordfence
Exploit likelihood
0.34% (higher than 28% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Wordfence

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.

Affected

Product or packageVersionsReported by
aurelienlws LWS Optimize – All-in-One Speed Booster & Cache Toolsup to 3.3.19CVE List

Classification

CWE-22

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

El plugin LWS Optimize - All-in-One Speed Booster & Cache Tools para WordPress es vulnerable a la lectura arbitraria de archivos en versiones hasta la 3.3.19, inclusive. Esto se debe a que la función combine_current_css() confía en los valores <link rel='stylesheet' href='...'> obtenidos del HTML de la página y convierte las URL del mismo sitio en rutas absolutas del sistema de archivos antes de leerlos con file_get_contents()/Minify\CSS::add(), sin exigir que la ruta resuelta permanezca dentro de ABSPATH o tenga una extensión .css. Esto permite que atacantes autenticados, con acceso de nivel Editor o superior, lean archivos arbitrarios.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-12089 changed 2026-06-15CVE Terms of Use
NVDCVE-2026-12089 changed 2026-07-23Public domain