CVE-2026-28054
Received Received - Intake
Local File Inclusion in Legal Stone ThemeREX

Publication date: 2026-03-05

Last updated on: 2026-03-05

Assigner: Patchstack

Description
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in ThemeREX Legal Stone legal-stone allows PHP Local File Inclusion.This issue affects Legal Stone: from n/a through <= 1.2.11.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-03-05
Last Modified
2026-03-05
Generated
2026-05-07
AI Q&A
2026-03-05
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
themerex legal_stone to 1.2.11 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-98 The PHP application receives input from an upstream component, but it does not restrict or incorrectly restricts the input before its usage in "require," "include," or similar functions.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

CVE-2026-28054 is a Local File Inclusion (LFI) vulnerability in the WordPress Legal Stone Theme versions up to and including 1.2.11. It allows an unauthenticated attacker to include and display local files from the target website by exploiting improper control of filename parameters in PHP include/require statements.

This vulnerability is classified under OWASP Top 10 A3: Injection and can lead to exposure of sensitive files such as those containing database credentials.


How can this vulnerability impact me? :

[{'type': 'paragraph', 'content': 'Exploitation of this vulnerability could lead to the exposure of sensitive files on the affected website, including files that contain database credentials.'}, {'type': 'paragraph', 'content': "This exposure could potentially enable a complete database takeover depending on the site's configuration, posing a high risk to the security and integrity of the website."}, {'type': 'paragraph', 'content': 'The vulnerability has a high CVSS severity score of 8.1, indicating a high likelihood of exploitation and significant impact.'}] [1]


How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:

I don't know


How can this vulnerability be detected on my network or system? Can you suggest some commands?

[{'type': 'paragraph', 'content': 'CVE-2026-28054 is a Local File Inclusion (LFI) vulnerability that allows an attacker to include local files via the Legal Stone WordPress theme. Detection typically involves monitoring for suspicious HTTP requests attempting to exploit the include/require statement by injecting file paths.'}, {'type': 'paragraph', 'content': 'While no specific commands are provided in the available resources, common detection methods include analyzing web server logs for unusual URL parameters or payloads that reference local files, such as attempts to include files like /etc/passwd or wp-config.php.'}, {'type': 'paragraph', 'content': 'Network or system administrators can use tools like grep or log analysis utilities to search for suspicious requests. For example, a command to search Apache logs might be:'}, {'type': 'list_item', 'content': 'grep -iE "(\\.|%2e){2,}/" /var/log/apache2/access.log'}, {'type': 'list_item', 'content': 'This command looks for directory traversal patterns that are commonly used in LFI attacks.'}, {'type': 'paragraph', 'content': 'Additionally, monitoring for requests containing suspicious parameters related to the vulnerable theme could help detect exploitation attempts.'}] [1]


What immediate steps should I take to mitigate this vulnerability?

Since no official patch is currently available for CVE-2026-28054, immediate mitigation involves applying the mitigation rule provided by Patchstack to block attacks targeting this vulnerability.

Users are strongly advised to implement this mitigation immediately to protect their sites from exploitation.

Additionally, monitoring and restricting access to sensitive files and limiting the permissions of the web server user can reduce the impact of a potential exploit.

Using automated vulnerability mitigation services, such as those offered by Patchstack, can help secure affected WordPress installations rapidly until an official fix is released.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart