CVE-2025-58927
Published: 18 December 2025
Description
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in axiomthemes Stallion stallion allows PHP Local File Inclusion.This issue affects Stallion: from n/a through <= 1.17.
Mitigating Controls (NIST 800-53 r5)AI
Directly mitigates the vulnerability by identifying, prioritizing, and applying patches to the flawed PHP include/require logic in the Stallion WordPress theme.
Enforces validation of untrusted inputs used as filenames in PHP include/require statements to block local file inclusion via path traversal.
Establishes secure PHP configuration settings such as open_basedir restrictions to limit the scope of accessible local files during inclusion attempts.
Security SummaryAI
CVE-2025-58927 is an Improper Control of Filename for Include/Require Statement in PHP Program vulnerability, classified as PHP Remote File Inclusion, within the axiomthemes Stallion WordPress theme. Specifically, it enables PHP Local File Inclusion and affects Stallion versions from n/a through 1.17.
The vulnerability has a CVSS v3.1 base score of 8.1 (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H), indicating exploitation over the network with high attack complexity, requiring no privileges or user interaction, and resulting in high impacts to confidentiality, integrity, and availability. Unauthenticated remote attackers can leverage this to perform local file inclusion, potentially leading to unauthorized access or execution of local files on the server.
Mitigation details are available in the Patchstack advisory at https://patchstack.com/database/Wordpress/Theme/stallion/vulnerability/wordpress-stallion-theme-1-17-local-file-inclusion-vulnerability?_s_id=cve.
Details
- CWE(s)
Affected Products
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
LFI vulnerability in public-facing WordPress theme enables remote exploitation (T1190) and facilitates reading/executing arbitrary local files for data from local system (T1005) and file/directory discovery (T1083).