CVE-2025-58894
Published: 18 December 2025
Description
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in axiomthemes Good Mood good-mood allows PHP Local File Inclusion.This issue affects Good Mood: from n/a through <= 1.16.
Mitigating Controls (NIST 800-53 r5)AI
SI-2 requires timely remediation of known flaws like CVE-2025-58894 through patching the vulnerable Good Mood WordPress theme to prevent LFI exploitation.
SI-10 mandates validation of information inputs, directly addressing the improper filename control in PHP include/require statements that enables LFI in the Good Mood theme.
RA-5 employs vulnerability scanning to identify the presence of CVE-2025-58894 in deployed WordPress themes, enabling proactive mitigation.
Security SummaryAI
CVE-2025-58894 is an Improper Control of Filename for Include/Require Statement in PHP Program vulnerability, classified as PHP Remote File Inclusion but enabling PHP Local File Inclusion, in the Good Mood WordPress theme developed by axiomthemes. This issue affects all versions of Good Mood from n/a through 1.16 inclusive. It 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), indicating high severity due to network accessibility despite high attack complexity.
The vulnerability can be exploited by unauthenticated attackers with network access to a vulnerable WordPress site running the affected theme version. Exploitation requires high complexity but no user interaction or privileges. Successful attacks allow high-impact compromise of confidentiality, integrity, and availability, potentially enabling local file inclusion of PHP files for arbitrary code execution or sensitive data exposure.
Mitigation details are available in the Patchstack advisory at https://patchstack.com/database/Wordpress/Theme/good-mood/vulnerability/wordpress-good-mood-theme-1-16-local-file-inclusion-vulnerability?_s_id=cve.
Details
- CWE(s)
Affected Products
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
The vulnerability is an LFI/RFI in a public-facing WordPress theme, enabling unauthenticated remote attackers to achieve arbitrary code execution or data exposure, directly mapping to T1190: Exploit Public-Facing Application.