CVE-2025-68908
Published: 22 January 2026
Summary
CVE-2025-68908 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 34.5th 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-68908 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 (CWE-98), in the temash Barberry WordPress theme. This issue affects Barberry versions from n/a through 2.9.9.87. 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.
Remote attackers require no privileges or user interaction to exploit this vulnerability over the network, though high attack complexity is needed. Successful exploitation allows inclusion of local PHP files, potentially leading to arbitrary code execution, sensitive data disclosure, file modification, or denial of service, aligning with the high impact ratings across all three vectors.
The Patchstack advisory provides details on this local file inclusion vulnerability in the WordPress Barberry theme version 2.9.9.87, accessible at https://patchstack.com/database/Wordpress/Theme/barberry/vulnerability/wordpress-barberry-theme-2-9-9-87-local-file-inclusion-vulnerability?_s_id=cve.
OWASP Top 10 for Web (2025)
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2026-3978
Vulnerability details
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in temash Barberry barberry allows PHP Local File Inclusion.This issue affects Barberry: from n/a through <= 2.9.9.87.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
LFI in public-facing WordPress theme enables exploitation of public-facing application (T1190) and arbitrary reading of local files (T1005).
CVEs Like This One
Affected Assets
Mitigating Controls
Mitigating Controls (NIST 800-53 r5) AI
Directly addresses improper filename control in PHP include/require by requiring validation of inputs to prevent local file inclusion attacks.
Requires timely identification, reporting, and correction of the specific flaw in the Barberry WordPress theme to eliminate the LFI vulnerability.
Enforces secure configuration settings in PHP, such as open_basedir restrictions and disabling allow_url_include, to mitigate unauthorized local file access.