CVE-2025-58891
Published: 18 December 2025
Summary
CVE-2025-58891 is a high-severity PHP Remote File Inclusion (CWE-98) vulnerability in Ancorathemes Sanger. Its CVSS base score is 8.1 (High).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 35.2th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.
The strongest mitigations our analysis identified are NIST 800-53 RA-5 (Vulnerability Monitoring and Scanning) and SI-10 (Information Input Validation).
Deeper analysis
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.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2025-204181
Vulnerability details
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.
- CWE(s)
Related Threats
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.
CVEs Like This One
Affected Assets
Mitigating Controls
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.