CVE-2025-58891
Published: 18 December 2025
Description
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in AncoraThemes Sanger sanger allows PHP Local File Inclusion.This issue affects Sanger: from n/a through <= 1.24.0.
Mitigating Controls (NIST 800-53 r5)AI
Timely flaw remediation directly addresses this LFI vulnerability by patching the Sanger WordPress theme to fix improper filename controls in PHP include/require statements.
Information input validation ensures filenames passed to PHP include/require are checked for validity, preventing local file inclusion attacks exploiting this CVE.
Vulnerability scanning and monitoring identifies the CVE-2025-58891 LFI flaw in deployed Sanger themes, enabling timely remediation before exploitation.
Security SummaryAI
CVE-2025-58891 is an Improper Control of Filename for Include/Require Statement in PHP Program vulnerability, also known as 'PHP Remote File Inclusion,' that enables PHP Local File Inclusion in the Sanger WordPress theme developed by AncoraThemes. This flaw affects all versions of the Sanger theme up to and including 1.24.0, with no lower bound specified.
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 it is exploitable remotely over the network by unauthenticated attackers with no privileges required and no user interaction needed, though it demands high attack complexity. Successful exploitation allows attackers to achieve high impacts on confidentiality, integrity, and availability, potentially enabling unauthorized access to local files on the server.
Mitigation details are available in the Patchstack advisory at https://patchstack.com/database/Wordpress/Theme/sanger/vulnerability/wordpress-sanger-theme-1-24-0-local-file-inclusion-vulnerability?_s_id=cve.
Details
- CWE(s)
Affected Products
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
T1190 directly matches exploitation of a public-facing WordPress theme vulnerability (PHP LFI). T1005 is facilitated by unauthorized remote access to and reading of local files on the server.