ThemeREX WealthCo WordPress Theme Local File Inclusion Vulnerability

Vulnerability

A local file inclusion vulnerability has been identified in the ThemeREX WealthCo WordPress theme, specifically in versions through 2.18. This vulnerability arises from improper control of filenames in include or require statements, allowing PHP local file inclusion. Exploiting this issue could enable a malicious actor to include local files from the target website and display their contents, potentially leading to the exposure of sensitive information such as database credentials.

Impact

Exploitation of this vulnerability could allow for local file inclusion, with the potential to read sensitive files that could lead to a database takeover, depending on the site's configuration.

Remediation

Users are advised to update to a version of the WealthCo theme later than 2.18. Patchstack has also provided a mitigation rule to block attacks until an official patch can be safely applied.

Added: Mar 5, 2026, 6:35 AM
Updated: Mar 5, 2026, 6:35 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
2.5
exploitability
7.4
remediation
0.0
relevance
3.5
threat
0.0
urgency
2.9
incentive
4.2

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.