CVE-2025-6746: CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') in xTemos Woodmart
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 Analysis
Technical Summary
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.
Affected Countries
United States, Germany, United Kingdom, Canada, Australia, France, India, Brazil, Netherlands, Japan, Italy, Spain
CVE-2025-6746: CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') in xTemos 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
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.
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 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.