Summary
A Limited Code Injection vulnerability, identified as CVE-2026-19793, affects the WP Import Export Lite plugin for WordPress. This vulnerability impacts all plugin versions up to and including 3.9.32. A patch is available in version 3.9.33 and later. There is no evidence of active exploitation for this vulnerability.
Affected and patched versions
WP Import Export Lite (plugin wp-import-export-lite): affected 3.9.32 and earlier; fixed in 3.9.33
Is my site vulnerable?
To determine if your WordPress site is vulnerable, check the version of the WP Import Export Lite plugin installed.
Log in to your WordPress administration dashboard.
Navigate to the "Plugins" menu, then select "Installed Plugins".
Locate "WP Import Export Lite" in the list of installed plugins.
Examine the version number displayed next to the plugin name. If your installed version is 3.9.32 or any earlier release, your site is vulnerable to CVE-2026-19793. Sites running version 3.9.33 or later are not affected by this specific vulnerability.
What an attacker actually does
The vulnerability stems from how the WP Import Export Lite plugin processes shortcodes within comment content during its export and import workflows. An unauthenticated attacker can initiate this process by submitting a comment on any post where comments are enabled and set to pending. This comment would contain a specially crafted malicious shortcode, specifically [wpie_function], designed to execute arbitrary PHP functions.
The core issue lies in the plugin's two-stage evaluation of shortcodes. Initially, when the plugin prepares data for export, it performs a check on mapping placeholders. At this stage, the malicious shortcode embedded within the comment content is not yet fully substituted with its actual data. Because it is still in a placeholder state, the plugin's neutralization mechanisms, intended to prevent code injection, are bypassed. The system does not recognize the potential for malicious execution at this preliminary stage.
The critical phase occurs when an administrator performs a routine operational task: an "Export With Settings For Import" followed by a "New Import" migration workflow. During this process, the plugin proceeds to substitute the raw mapping placeholders with the actual data, which includes the attacker-controlled comment content. At this runtime stage, the previously bypassed malicious [wpie_function] shortcode becomes active. The plugin then evaluates and executes this shortcode, allowing the unauthenticated attacker to inject and run arbitrary PHP callables on the server. This provides a pathway for remote code execution, giving the attacker significant control over the compromised WordPress environment.
How to detect a compromise
Detecting a compromise resulting from this vulnerability requires a thorough examination of the WordPress environment, focusing on areas where arbitrary PHP callables might leave traces. Since the vulnerability allows for the injection of PHP functions, an attacker could manipulate files, modify database entries, or establish persistent backdoors.
One primary indicator of compromise would be the presence of unexpected files or modifications within the WordPress installation directory, particularly in wp-content, wp-includes, or plugin directories. Attackers often create new PHP files or alter existing legitimate ones to maintain access or execute further malicious actions. Regularly comparing current file hashes against known good versions or using a file integrity monitoring (FIM) system can help identify such changes.
Another crucial area for investigation is the WordPress database. Specifically, the wp_comments table should be reviewed for any comment_content entries that contain the [wpie_function] shortcode or other suspicious PHP code snippets. The presence of such shortcodes in approved or even pending comments could indicate an attempted or successful exploitation. A direct database query or a search within a database dump can reveal these entries. For example, a grep command on a database dump file, such as grep -r "\[wpie_function\]" your_database_dump.sql, can quickly identify instances of the specific shortcode. Alternatively, using WP-CLI, administrators can list comment content and filter for suspicious strings: wp comment list --field=comment_content | grep "\[wpie_function\]".
Server access logs and PHP error logs also provide valuable forensic data. Unusual requests to unfamiliar endpoints, unexpected POST data, or repeated access attempts from suspicious IP addresses in the access logs could signal attacker activity. PHP error logs might show errors generated by injected malicious code attempting to execute functions or access resources it shouldn't, providing clues about the nature of the compromise.
Furthermore, administrators should examine scheduled tasks (cron jobs) within the server environment and WordPress itself for any newly created or modified entries that could be used for persistence. Reviewing user accounts for any unauthorized additions or privilege escalations is also a standard post-compromise step, as injected code could create new administrative users.
How to fix
Update the WP Import Export Lite plugin to version 3.9.33 or later immediately. This version includes comprehensive security updates improving input sanitization, file containment, and permission checks across import and export workflows. Version 3.9.34 provides additional security enhancements, including enhanced directory containment, file validation during export processing, and strengthened function execution controls.
After updating the plugin, review all pending and approved comments on your site for any suspicious content, particularly for the presence of the
[wpie_function]shortcode or other unexpected PHP code. Delete any comments that appear malicious.Consider performing a thorough security scan of your WordPress installation to identify any lingering compromise, such as newly created files, modified core files, or unauthorized database entries that might have resulted from exploitation before the patch was applied.
Timeline
Date | Event |
|---|---|
2026-11-20 | Published |