CVE-2025-68510
Published: 22 January 2026
Summary
CVE-2025-68510 is a high-severity PHP Remote File Inclusion (CWE-98) vulnerability. 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.0th 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 SI-10 (Information Input Validation) and SI-2 (Flaw Remediation).
Deeper analysis
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.
OWASP Top 10 for Web (2025)
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2026-3992
Vulnerability details
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.
- CWE(s)
Related Threats
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).
CVEs Like This One
Affected Assets
Mitigating Controls
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.