CVE-2025-58894
Published: 18 December 2025
Summary
CVE-2025-58894 is a high-severity PHP Remote File Inclusion (CWE-98) vulnerability in Axiomthemes Good Mood. 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 RA-5 (Vulnerability Monitoring and Scanning) and SI-10 (Information Input Validation).
Deeper analysis
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.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2025-204178
Vulnerability details
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.
- CWE(s)
Related Threats
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.
CVEs Like This One
Affected Assets
Mitigating Controls
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.