CVE-2026-22493
Published: 25 March 2026
Description
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in Elated-Themes Gaspard gaspard allows PHP Local File Inclusion.This issue affects Gaspard: from n/a through <= 1.3.
Mitigating Controls (NIST 800-53 r5)AI
Directly remediates the specific PHP Local File Inclusion flaw in the Gaspard WordPress theme by requiring timely patching of affected versions up to 1.3.
Prevents exploitation of improper filename control in PHP include/require by validating all user-supplied inputs used for file inclusion.
Mitigates LFI risks through secure PHP configuration settings like open_basedir restrictions and disabling dangerous functions.
Security SummaryAI
CVE-2026-22493 is an Improper Control of Filename for Include/Require Statement in PHP Program vulnerability, known as PHP Remote File Inclusion, that enables PHP Local File Inclusion in the Elated-Themes Gaspard WordPress theme. This issue affects Gaspard versions from n/a through 1.3 and is associated with CWE-98. The vulnerability 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 and significant impacts on confidentiality, integrity, and availability.
The vulnerability can be exploited by unauthenticated attackers over the network, though it requires high attack complexity and no user interaction. Successful exploitation allows local file inclusion, potentially enabling attackers to access or manipulate sensitive files on the server, with high impacts across confidentiality, integrity, and availability as scored by CVSS.
Patchstack provides details on this vulnerability, including mitigation guidance, in their advisory at https://patchstack.com/database/Wordpress/Theme/gaspard/vulnerability/wordpress-gaspard-theme-1-3-local-file-inclusion-vulnerability?_s_id=cve.
Details
- CWE(s)
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
The vulnerability is a public-facing WordPress theme LFI (with potential RFI), directly enabling exploitation of public-facing applications (T1190) and collection of data from the local system via arbitrary file reads (T1005).