Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.3%top 74%

CVE-2026-12089: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in aurelienlws LWS Optimize – All-in-One Speed Booster & Cache Tools

0
Medium
VulnerabilityCVE-2026-12089cvecve-2026-12089cwe-22
Published: 06/13/2026 (06/13/2026, 02:29:02 UTC)
Source: CVE Database V5
Vendor/Project: aurelienlws
Product: LWS Optimize – All-in-One Speed Booster & Cache Tools

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.

CVSS v3.1

Score 4.9medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

Affected software

Affected versions
<=3.3.19

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/20/2026, 16:05:43 UTC

Technical Analysis

CVE-2026-12089 is a path traversal vulnerability (CWE-22) in the LWS Optimize – All-in-One Speed Booster & Cache Tools WordPress plugin up to version 3.3.19. The combine_current_css() function processes <link rel="stylesheet" href="..."> values from page HTML, converting same-site URLs to absolute filesystem paths. It then reads these files using file_get_contents() and Minify\CSS::add() without verifying that the resolved path remains within the WordPress ABSPATH or that the file has a .css extension. This lack of validation enables authenticated attackers with Editor-level access or higher to read arbitrary files on the server, potentially exposing sensitive information. The CVSS 3.1 base score is 4.9 (medium severity), reflecting network attack vector, low attack complexity, high privileges required, no user interaction, unchanged scope, and high confidentiality impact.

Potential Impact

An attacker with Editor-level or higher privileges can exploit this vulnerability to read arbitrary files on the server hosting the WordPress site. This could lead to disclosure of sensitive information such as configuration files, credentials, or other data stored on the filesystem. There is no indication of integrity or availability impact. No known exploits in the wild have been reported at this time.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict Editor-level access to trusted users only. Monitor for updates from the plugin vendor or WordPress security channels for a patch or official mitigation. Avoid using vulnerable versions (<=3.3.19) in production environments if possible.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Wordfence
Date Reserved
2026-06-12T13:57:55.876Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a2cc2dfe617e2d8342dcc6b

Added to database: 06/13/2026, 02:39:27 UTC

Last enriched: 06/20/2026, 16:05:43 UTC

Last updated: 07/31/2026, 19:22:57 UTC

Views: 83

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses