CVE-2025-22707
Published: 08 January 2026
Description
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in ThemeMove Moody tm-moody allows PHP Local File Inclusion.This issue affects Moody: from n/a through <= 2.7.3.
Mitigating Controls (NIST 800-53 r5)AI
Directly remediates the improper filename control flaw in the Moody WordPress theme by identifying, prioritizing, and applying patches to versions beyond 2.7.3.
Validates user-supplied filenames used in PHP include/require statements to block malicious local file inclusion attempts.
Enforces restrictive PHP configuration settings like open_basedir and disabling allow_url_include to limit the scope of file inclusion vulnerabilities.
Security SummaryAI
CVE-2025-22707 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 ThemeMove Moody (tm-moody) WordPress theme. This issue affects all versions of Moody from n/a through 2.7.3 and is associated with CWE-98.
The vulnerability can be exploited by unauthenticated attackers over the network, though it requires high attack complexity, with no user interaction needed. Successful exploitation in the unchanged scope can result in high impacts to confidentiality, integrity, and availability, as reflected in its CVSS v3.1 base score of 8.1 (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H).
Advisories, including the Patchstack database entry at https://patchstack.com/database/Wordpress/Theme/tm-moody/vulnerability/wordpress-moody-theme-2-7-3-local-file-inclusion-vulnerability?_s_id=cve, provide details on the WordPress Moody theme 2.7.3 local file inclusion vulnerability.
Details
- CWE(s)
Affected Products
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
The vulnerability allows unauthenticated remote exploitation of a public-facing WordPress theme via local file inclusion, directly enabling T1190: Exploit Public-Facing Application.