CVE-2026-22425
Published: 05 March 2026
Description
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in Elated-Themes Sweet Jane sweetjane allows PHP Local File Inclusion.This issue affects Sweet Jane: from n/a through <= 1.2.
Mitigating Controls (NIST 800-53 r5)AI
Directly remediates the improper filename control flaw in the Sweet Jane theme's PHP include/require statements, eliminating the local file inclusion vulnerability.
Enforces validation of user-supplied filenames to block malicious inputs that enable PHP local file inclusion in the vulnerable WordPress theme.
Establishes secure PHP configuration settings, such as open_basedir restrictions and disabling allow_url_include, to limit file access paths exploitable by the LFI vulnerability.
Security SummaryAI
CVE-2026-22425 is an Improper Control of Filename for Include/Require Statement vulnerability, classified as a PHP Remote File Inclusion issue that enables PHP Local File Inclusion, affecting the Sweet Jane WordPress theme developed by Elated-Themes. The vulnerability impacts all versions of Sweet Jane from n/a through 1.2. 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). The issue was published on 2026-03-05.
Unauthenticated remote attackers can exploit this vulnerability over the network without requiring user interaction, though exploitation demands high attack complexity. Successful attacks allow attackers to achieve high impacts on confidentiality, integrity, and availability, potentially enabling local file inclusion to read sensitive files or execute arbitrary code depending on server configuration.
Mitigation details are available in advisories such as the Patchstack database entry for the WordPress Sweet Jane theme vulnerability at https://patchstack.com/database/Wordpress/Theme/sweetjane/vulnerability/wordpress-sweet-jane-theme-1-2-local-file-inclusion-vulnerability?_s_id=cve.
Details
- CWE(s)
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
LFI vulnerability in public-facing WordPress theme directly enables T1190 (exploit public-facing application), facilitates T1005 (data from local system) and T1083 (file and directory discovery) via arbitrary local file inclusion for disclosure and potential code execution.