CVE-2025-68510
Published: 22 January 2026
Description
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in ThemeGoods Photography photography allows PHP Local File Inclusion.This issue affects Photography: from n/a through < 7.7.5.
Mitigating Controls (NIST 800-53 r5)AI
Directly mitigates the PHP local file inclusion vulnerability by applying the patch in Photography theme version 7.7.5 or later.
Enforces validation of filenames supplied to PHP include/require statements, preventing path traversal and unauthorized local file inclusion.
Secures PHP configuration settings such as open_basedir restrictions to limit the scope of local file inclusion even if input validation fails.
Security SummaryAI
CVE-2025-68510 is an Improper Control of Filename for Include/Require Statement vulnerability, classified as PHP Remote File Inclusion but enabling PHP Local File Inclusion (CWE-98), in the ThemeGoods Photography WordPress theme. This issue affects all versions of the Photography theme from n/a through those prior to 7.7.5. 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 its potential for significant impact.
The vulnerability can be exploited by unauthenticated attackers over the network, though it requires high attack complexity and no user interaction. Successful exploitation allows attackers to include local files via PHP's include/require statements, potentially leading to high confidentiality, integrity, and availability impacts, such as unauthorized access to sensitive data or system compromise.
The Patchstack advisory (https://patchstack.com/database/Wordpress/Theme/photography/vulnerability/wordpress-photography-theme-7-7-5-local-file-inclusion-vulnerability?_s_id=cve) documents the local file inclusion flaw in the Photography theme and associates it with the release of version 7.7.5, indicating that updating to 7.7.5 or later resolves the issue.
Details
- CWE(s)
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
Public-facing WordPress theme LFI vulnerability exploited remotely without authentication (T1190: Exploit Public-Facing Application) enables arbitrary local file reads for sensitive data exposure (T1005: Data from Local System).