CVE-2025-8142 Soledad <= 8.6.7 - Authenticated (Contributor+) Local File Inclusion via 'header_layout'
Authenticated contributors can exploit a Local File Inclusion vulnerability in the Soledad WordPress theme to execute arbitrary PHP code or read sensitive data.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-8142?
CVE-2025-8142 is a high-severity path traversal vulnerability in pencidesign Soledad, published on 16 Aug 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-98
Which versions are affected by CVE-2025-8142?
How do I fix CVE-2025-8142?
No fix has been published for CVE-2025-8142 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2025-8142 being exploited?
There is no known exploitation of CVE-2025-8142 in the wild and no public exploit code.
Sources
Also known as GHSA-ffcm-x32p-2f7m.