CVE-2025-12733: CWE-94 Improper Control of Generation of Code ('Code Injection') in wpallimport Import any XML, CSV or Excel File to WordPress
The Import any XML, CSV or Excel File to WordPress (WP All Import) plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 3.9.6. This is due to the use of eval() on unsanitized user-supplied input in the pmxi_if function within helpers/functions.php. This makes it possible for authenticated attackers, with import capabilities (typically administrators), to inject and execute arbitrary PHP code on the server via crafted import templates. This can lead to remote code execution.
AI Analysis
Technical Summary
CVE-2025-12733 is a remote code execution vulnerability classified under CWE-94 (Improper Control of Generation of Code) found in the WP All Import plugin for WordPress, which facilitates importing XML, CSV, or Excel files. The vulnerability exists in all versions up to and including 3.9.6 due to the use of PHP's eval() function on unsanitized user input within the pmxi_if function located in helpers/functions.php. This unsafe coding practice allows authenticated users with import permissions—usually administrators—to inject arbitrary PHP code via specially crafted import templates. When the plugin processes these templates, the malicious code is executed on the server, leading to full remote code execution capabilities. This can result in complete system compromise, including data theft, site defacement, malware deployment, or pivoting within the network. The CVSS v3.1 score is 8.8, reflecting high severity with network attack vector, low attack complexity, requiring privileges but no user interaction, and impacting confidentiality, integrity, and availability. No public exploits have been reported yet, but the vulnerability is critical due to the potential damage and ease of exploitation by privileged users. The plugin is widely used in WordPress environments, making this a significant risk for many websites globally.
Potential Impact
The impact of CVE-2025-12733 is severe for organizations using the WP All Import plugin. Successful exploitation allows attackers with import privileges to execute arbitrary PHP code remotely, leading to full server compromise. This can result in unauthorized data access or exfiltration, defacement or destruction of website content, installation of backdoors or malware, and lateral movement within the hosting environment or connected networks. Given WordPress's widespread use for business websites, e-commerce platforms, and content management, this vulnerability threatens the confidentiality, integrity, and availability of critical web assets. Organizations may suffer reputational damage, financial loss, and regulatory penalties if sensitive customer or business data is exposed. The requirement for authenticated access limits exploitation to insiders or compromised accounts, but the high privileges needed are common among site administrators, increasing risk. The absence of known public exploits currently reduces immediate widespread attacks, but the vulnerability's nature and severity make it a prime target once exploit code becomes available.
Mitigation Recommendations
To mitigate CVE-2025-12733, organizations should immediately restrict import capabilities to the minimum number of trusted administrators and monitor import activities for anomalies. Until an official patch is released, consider disabling the WP All Import plugin or removing import privileges from users who do not require them. Implement strict access controls and multi-factor authentication for administrative accounts to reduce the risk of credential compromise. Review and sanitize all import templates and inputs rigorously before processing. Employ web application firewalls (WAFs) with custom rules to detect and block suspicious payloads targeting the pmxi_if function or eval() usage patterns. Regularly audit WordPress plugins for updates and subscribe to vulnerability notifications from trusted sources. After patch availability, promptly apply updates to eliminate the vulnerability. Additionally, conduct thorough incident response readiness to detect and respond to potential exploitation attempts.
Affected Countries
United States, Germany, United Kingdom, Canada, Australia, France, Netherlands, India, Brazil, Japan, South Korea, Italy
CVE-2025-12733: CWE-94 Improper Control of Generation of Code ('Code Injection') in wpallimport Import any XML, CSV or Excel File to WordPress
Description
The Import any XML, CSV or Excel File to WordPress (WP All Import) plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 3.9.6. This is due to the use of eval() on unsanitized user-supplied input in the pmxi_if function within helpers/functions.php. This makes it possible for authenticated attackers, with import capabilities (typically administrators), to inject and execute arbitrary PHP code on the server via crafted import templates. This can lead to remote code execution.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-12733 is a remote code execution vulnerability classified under CWE-94 (Improper Control of Generation of Code) found in the WP All Import plugin for WordPress, which facilitates importing XML, CSV, or Excel files. The vulnerability exists in all versions up to and including 3.9.6 due to the use of PHP's eval() function on unsanitized user input within the pmxi_if function located in helpers/functions.php. This unsafe coding practice allows authenticated users with import permissions—usually administrators—to inject arbitrary PHP code via specially crafted import templates. When the plugin processes these templates, the malicious code is executed on the server, leading to full remote code execution capabilities. This can result in complete system compromise, including data theft, site defacement, malware deployment, or pivoting within the network. The CVSS v3.1 score is 8.8, reflecting high severity with network attack vector, low attack complexity, requiring privileges but no user interaction, and impacting confidentiality, integrity, and availability. No public exploits have been reported yet, but the vulnerability is critical due to the potential damage and ease of exploitation by privileged users. The plugin is widely used in WordPress environments, making this a significant risk for many websites globally.
Potential Impact
The impact of CVE-2025-12733 is severe for organizations using the WP All Import plugin. Successful exploitation allows attackers with import privileges to execute arbitrary PHP code remotely, leading to full server compromise. This can result in unauthorized data access or exfiltration, defacement or destruction of website content, installation of backdoors or malware, and lateral movement within the hosting environment or connected networks. Given WordPress's widespread use for business websites, e-commerce platforms, and content management, this vulnerability threatens the confidentiality, integrity, and availability of critical web assets. Organizations may suffer reputational damage, financial loss, and regulatory penalties if sensitive customer or business data is exposed. The requirement for authenticated access limits exploitation to insiders or compromised accounts, but the high privileges needed are common among site administrators, increasing risk. The absence of known public exploits currently reduces immediate widespread attacks, but the vulnerability's nature and severity make it a prime target once exploit code becomes available.
Mitigation Recommendations
To mitigate CVE-2025-12733, organizations should immediately restrict import capabilities to the minimum number of trusted administrators and monitor import activities for anomalies. Until an official patch is released, consider disabling the WP All Import plugin or removing import privileges from users who do not require them. Implement strict access controls and multi-factor authentication for administrative accounts to reduce the risk of credential compromise. Review and sanitize all import templates and inputs rigorously before processing. Employ web application firewalls (WAFs) with custom rules to detect and block suspicious payloads targeting the pmxi_if function or eval() usage patterns. Regularly audit WordPress plugins for updates and subscribe to vulnerability notifications from trusted sources. After patch availability, promptly apply updates to eliminate the vulnerability. Additionally, conduct thorough incident response readiness to detect and respond to potential exploitation attempts.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-11-04T22:13:08.724Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 691553e024a15f0eafbbc0a5
Added to database: 11/13/2025, 3:43:28 AM
Last enriched: 2/27/2026, 9:04:18 PM
Last updated: 3/24/2026, 10:29:03 AM
Views: 143
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.