Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-6746: CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') in xTemos Woodmart

0
High
VulnerabilityCVE-2025-6746cvecve-2025-6746cwe-98
Published: Tue Jul 08 2025 (07/08/2025, 06:41:58 UTC)
Source: CVE Database V5
Vendor/Project: xTemos
Product: Woodmart

Description

The WoodMart plugin for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 8.2.3 via the 'layout' attribute. 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 files can be uploaded and included.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/26/2026, 15:49:20 UTC

Technical Analysis

CVE-2025-6746 is a Local File Inclusion vulnerability affecting all versions of the WoodMart plugin for WordPress up to and including 8.2.3. The vulnerability stems from improper validation and control of the 'layout' attribute, which is used in PHP include or require statements. Authenticated attackers with Contributor-level privileges or higher can manipulate this attribute to include arbitrary PHP files from the server filesystem. If an attacker can upload PHP files (e.g., via other plugin features or WordPress media upload with improper restrictions), they can execute arbitrary code remotely, leading to full server compromise. The vulnerability is classified under CWE-98, which involves improper control of filenames used in include/require statements, a common vector for LFI and Remote File Inclusion (RFI) attacks. The CVSS 3.1 score of 8.8 reflects the vulnerability's network attack vector, low attack complexity, required privileges (low), no user interaction, and high impact on confidentiality, integrity, and availability. No patches or official fixes are currently linked, and no known exploits have been reported in the wild as of the publication date. However, the presence of this vulnerability in a widely used WordPress plugin makes it a significant risk for websites using WoodMart themes, especially those allowing contributor-level access to untrusted users.

Potential Impact

The impact of CVE-2025-6746 is severe for organizations using the WoodMart WordPress plugin. Exploitation can lead to remote code execution on the web server, enabling attackers to bypass access controls and execute arbitrary PHP code. This can result in full compromise of the web server, including theft or modification of sensitive data, defacement, installation of backdoors or malware, and pivoting to internal networks. Since Contributor-level users can exploit this, any site allowing user-generated content or multiple contributors is at risk. The vulnerability threatens confidentiality, integrity, and availability of affected systems. Given WordPress's widespread use globally, organizations ranging from small businesses to large enterprises using WoodMart themes are at risk. The lack of known exploits currently provides a window for mitigation, but the ease of exploitation and high impact necessitate urgent attention.

Mitigation Recommendations

1. Immediately restrict Contributor-level and higher user permissions to trusted users only until a patch is available. 2. Monitor and audit user uploads to prevent uploading of PHP files or other executable content. 3. Implement web application firewall (WAF) rules to detect and block suspicious requests manipulating the 'layout' parameter or attempting file inclusion. 4. Disable or remove the WoodMart plugin if not essential or replace it with a secure alternative. 5. Regularly back up website data and server configurations to enable recovery in case of compromise. 6. Monitor logs for unusual file access patterns or execution of unexpected PHP files. 7. Once a patch is released by xTemos, apply it promptly. 8. Employ PHP configuration hardening, such as disabling allow_url_include and restricting file system permissions to limit the impact of file inclusion vulnerabilities. 9. Use security plugins that can detect and prevent LFI attempts and unauthorized file executions. 10. Educate site administrators and contributors about the risks of uploading executable files and the importance of secure practices.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2025-06-26T18:22:26.347Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 686cc0a16f40f0eb72f236e0

Added to database: 7/8/2025, 6:54:25 AM

Last enriched: 2/26/2026, 3:49:20 PM

Last updated: 3/24/2026, 11:15:57 AM

Views: 126

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses