CVE-2025-58943
Published: 18 December 2025
Description
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in axiomthemes Agricola agricola allows PHP Local File Inclusion.This issue affects Agricola: from n/a through <= 1.1.0.
Mitigating Controls (NIST 800-53 r5)AI
Directly addresses the improper filename control in PHP include/require by validating manipulated inputs to prevent arbitrary local file inclusion.
Remediates the specific flaw in the Agricola WordPress theme through timely identification, reporting, and patching up to version 1.1.0.
Enforces secure PHP configuration settings like open_basedir to restrict file paths accessible via include/require statements.
Security SummaryAI
CVE-2025-58943 is an Improper Control of Filename for Include/Require Statement in PHP Program vulnerability, classified as a PHP Remote File Inclusion issue that enables PHP Local File Inclusion, affecting the Agricola WordPress theme by axiomthemes. This flaw impacts all versions of the theme from its initial release through 1.1.0 inclusive. The vulnerability is associated with CWE-98 and carries 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), highlighting its high severity due to network accessibility and potential for significant impacts.
Remote, unauthenticated attackers can exploit this vulnerability over the network, though it requires high attack complexity and no user interaction. Successful exploitation allows inclusion of arbitrary local PHP files via manipulated filenames in include/require statements, potentially leading to unauthorized access to sensitive data, modification of system integrity, or disruption of availability, aligning with the high confidentiality, integrity, and availability impact ratings.
Mitigation guidance is detailed in the Patchstack advisory at https://patchstack.com/database/Wordpress/Theme/agricola/vulnerability/wordpress-agricola-theme-1-1-0-local-file-inclusion-vulnerability?_s_id=cve, which covers the Local File Inclusion vulnerability in the Agricola WordPress theme version 1.1.0. The CVE was published on 2025-12-18.
Details
- CWE(s)
Affected Products
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
The vulnerability is a remote file inclusion flaw in a public-facing WordPress theme, allowing unauthenticated attackers to include and potentially execute arbitrary local PHP files, directly enabling exploitation of public-facing applications.