CVE-2025-58899
Published: 18 December 2025
Description
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.
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.
Security SummaryAI
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.
Details
- CWE(s)
Affected Products
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.