CVE-2025-8142

Soledad <= 8.6.7 - Authenticated (Contributor+) Local File Inclusion via 'header_layout'

Published Aug 16, 2025 CVSS 3.1 · 8.8 High EPSS 1.1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The Soledad WordPress theme is vulnerable to a Local File Inclusion flaw through the 'header_layout' parameter. This issue allows authenticated users with Contributor-level access or higher to include arbitrary .php files present on the server, leading to the execution of any PHP code contained in those files. The vulnerability can be leveraged to bypass existing access controls, obtain sensitive data, or fully compromise the site if .php files can be uploaded and subsequently included. The weakness falls under CWE‑98, Local File Inclusion.

Affected Systems

All installations of the Soledad theme from pencidesign, versions 8.6.7 and earlier, are affected. Users running these legacy versions of the theme on WordPress should review their current version and apply any available updates.

Risk and Exploitability

With a CVSS score of 8.8, the severity is High, but the EPSS score is less than 1 %, indicating a low probability of exploitation in the wild. The vulnerability is not listed in the CISA KEV catalog. Attackers must first authenticate with Contributor-level privileges to exploit the flaw, after which they can craft a request to the 'header_layout' parameter that points to a locally stored .php file. If such a file can be uploaded by the user, the attacker can execute arbitrary code, potentially leading to full site compromise.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Soledad theme to a version newer than 8.6.7
  • Restrict file upload capabilities for Contributor-level users so they cannot upload PHP files
  • Configure the web server or apply a WAF rule to block local file inclusion attempts through the 'header_layout' parameter

Generated by OpenCVE AI on April 21, 2026 at 03:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-28792 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.
History
Type Values Removed Values Added
First Time appeared Pencidesign
Pencidesign soledad
Wordpress
Wordpress wordpress
Vendors & Products Pencidesign
Pencidesign soledad
Wordpress
Wordpress wordpress
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Soledad <= 8.6.7 - Authenticated (Contributor+) Local File Inclusion via 'header_layout'
Weaknesses CWE-98
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-98

    Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 8, 2026, 5:02 PM
Reserved
Jul 24, 2025, 4:57 PM
Status
Deferred
Published
Aug 16, 2025, 12:15 PM
Modified
Jun 17, 2026, 10:06 AM