CVE-2025-8142: CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') in pencidesign Soledad
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 .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.
AI Analysis
Technical Summary
CVE-2025-8142 is a Local File Inclusion vulnerability in the Soledad WordPress theme by pencidesign affecting all versions up to 8.6.7. The flaw exists in the handling of the 'header_layout' parameter, allowing authenticated users with at least Contributor privileges to include arbitrary PHP files on the server. This improper control of filename for include/require statements (CWE-98) enables execution of arbitrary PHP code, potentially leading to full compromise of the affected system. The CVSS v3.1 base score is 8.8, reflecting network attack vector, low attack complexity, required privileges, no user interaction, and high impact on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation allows authenticated users with Contributor-level access or higher to execute arbitrary PHP code on the server hosting the vulnerable Soledad theme. This can result in bypassing access controls, unauthorized data disclosure, and full system compromise. The vulnerability affects confidentiality, integrity, and availability of the affected system with high severity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict Contributor-level access and above to trusted users only. Monitor for updates from pencidesign regarding patches or mitigations for this vulnerability.
CVE-2025-8142: CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') in pencidesign Soledad
Description
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 .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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-8142 is a Local File Inclusion vulnerability in the Soledad WordPress theme by pencidesign affecting all versions up to 8.6.7. The flaw exists in the handling of the 'header_layout' parameter, allowing authenticated users with at least Contributor privileges to include arbitrary PHP files on the server. This improper control of filename for include/require statements (CWE-98) enables execution of arbitrary PHP code, potentially leading to full compromise of the affected system. The CVSS v3.1 base score is 8.8, reflecting network attack vector, low attack complexity, required privileges, no user interaction, and high impact on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation allows authenticated users with Contributor-level access or higher to execute arbitrary PHP code on the server hosting the vulnerable Soledad theme. This can result in bypassing access controls, unauthorized data disclosure, and full system compromise. The vulnerability affects confidentiality, integrity, and availability of the affected system with high severity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict Contributor-level access and above to trusted users only. Monitor for updates from pencidesign regarding patches or mitigations for this vulnerability.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-07-24T16:57:03.610Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 68a068e4ad5a09ad0079fbe3
Added to database: 8/16/2025, 11:17:56 AM
Last enriched: 4/9/2026, 5:59:11 PM
Last updated: 5/10/2026, 8:28:34 AM
Views: 268
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.