CVE-2025-58899
Published: 18 December 2025
Summary
CVE-2025-58899 is a high-severity PHP Remote File Inclusion (CWE-98) vulnerability in Ancorathemes Frame. 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 32.9th 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 SI-10 (Information Input Validation) and SI-2 (Flaw Remediation).
Deeper analysis
CVE-2025-58899 is an Improper Control of Filename for Include/Require Statement vulnerability, classified as PHP Remote File Inclusion, in the AncoraThemes Frame WordPress theme. The flaw enables PHP Local File Inclusion and affects versions from unknown initial release through 2.4.0 inclusive.
The vulnerability carries a CVSS v3.1 base score of 8.1 (High), with attack vector of network (AV:N), high attack complexity (AC:H), no privileges required (PR:N), no user interaction (UI:N), unchanged scope (S:U), and high impacts on confidentiality, integrity, and availability (C:H/I:H/A:H). Remote, unauthenticated attackers can exploit it to potentially read or include local files, including PHP files for execution.
The Patchstack advisory provides further details on this Local File Inclusion vulnerability in the Frame theme version 2.4.0: https://patchstack.com/database/Wordpress/Theme/frame/vulnerability/wordpress-frame-theme-2-4-0-local-file-inclusion-vulnerability?_s_id=cve.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2025-204174
Vulnerability details
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in AncoraThemes Frame frame allows PHP Local File Inclusion.This issue affects Frame: from n/a through <= 2.4.0.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
T1190 for exploiting the public-facing WordPress theme vulnerability (LFI via improper filename control in PHP include/require). T1005 for reading arbitrary local files remotely, enabling data collection from the local system.
CVEs Like This One
Affected Assets
Mitigating Controls
Mitigating Controls (NIST 800-53 r5) AI
Timely flaw remediation patches the improper filename control in the Frame theme's PHP include/require, preventing LFI exploitation by remote unauthenticated attackers.
Information input validation ensures filenames supplied to PHP include/require in the Frame theme are sanitized to block path traversal and local file inclusion.
Boundary protection with web application firewalls detects and blocks network requests containing LFI payloads targeting the vulnerable Frame theme endpoint.