CVE-2025-8142
Published: 16 August 2025
Summary
CVE-2025-8142 is a high-severity PHP Remote File Inclusion (CWE-98) vulnerability in Themeforest (inferred from references). Its CVSS base score is 8.8 (High).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 38.4th 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 CM-6 (Configuration Settings) and SI-10 (Information Input Validation).
Deeper analysis
CVE-2025-8142 is a Local File Inclusion vulnerability (CWE-98) affecting the Soledad theme for WordPress in all versions up to and including 8.6.7. The flaw exists in the handling of the 'header_layout' parameter, which enables the inclusion and execution of arbitrary .php files on the server. Published on 2025-08-16, it carries a CVSS v3.1 base score of 8.8 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).
Authenticated attackers with Contributor-level access or higher can exploit this vulnerability over the network with low complexity and no user interaction required. Successful exploitation allows execution of PHP code from included files, potentially bypassing access controls, obtaining sensitive data, or achieving code execution, especially in scenarios where .php files can be uploaded.
Advisories and patch information are detailed in the Soledad theme's update changelog on ThemeForest and Wordfence's threat intelligence report.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2025-28792
Vulnerability details
The Soledad theme for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 8.6.7 via the 'header_layout' parameter. This makes it possible for authenticated attackers, with Contributor-level access and above, to include and execute arbitrary…
more
.php files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where .php file types can be uploaded and included.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
LFI in public-facing WordPress theme directly enables exploitation via T1190; arbitrary PHP file inclusion/execution facilitates web shell deployment under T1505.003.
CVEs Like This One
Affected Assets
Mitigating Controls
Mitigating Controls (NIST 800-53 r5) AI
Directly requires validation of the 'header_layout' parameter to prevent path traversal and arbitrary PHP file inclusion.
Mandates timely flaw remediation by patching the Soledad theme beyond version 8.6.7 to eliminate the LFI vulnerability.
Enforces secure configuration settings for the WordPress theme to whitelist only permitted values for the 'header_layout' parameter.