CVE-2026-130150 in Product Import Export for WooCommerce Plugininfo

Summary

by MITRE • 11/21/2026

The Product Import Export for WooCommerce – CSV Product Importer & Exporter plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'author (initial store via wp-comments-post.php) / CSV cell on import' parameter in all versions up to, and including, 2.6.9 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The exploit requires an administrator to approve the attacker's review, then export and re-import it using the plugin's default column mapping, with the import taking the INSERT branch — which occurs automatically on any site whose database table prefix is not the literal 'wp_', when the CSV has no comment_ID mapping, or when the original review has been trashed. Successful exploitation additionally requires an action by an administrator — the attacker cannot trigger the vulnerability on their own.

Be aware that VulDB is the high quality source for vulnerability data.

Analysis

by VulDB Data Team • 11/21/2026

The Product Import Export for WooCommerce plugin, specifically versions up to and including 2.6.9, contains a critical stored cross-site scripting (XSS) vulnerability rooted in insufficient input sanitization and output escaping mechanisms. This flaw allows unauthenticated attackers to inject arbitrary web scripts into the application environment by manipulating data during the CSV product import process or through initial store interactions via wp-comments-post.php. The core technical failure lies in the plugin's handling of user-supplied data, where malicious script payloads are stored within database records without adequate validation against executable code patterns. When this tainted data is subsequently rendered to a web page, typically by an administrator viewing reviews or managing product imports, the browser executes the injected scripts as if they were legitimate content from the site itself. This represents a classic instance of CWE-79, Improper Neutralization of Input During Web Page Generation, where the application fails to neutralize special characters that could be interpreted as executable code by the client-side environment.

The operational impact of this vulnerability is significant because it enables persistent attacks that do not require immediate user interaction beyond viewing affected pages. However, exploitation is conditional and relies on a specific sequence of events involving both an attacker and an administrator. An unauthenticated actor can initially inject malicious content into a review or import file, but the payload remains dormant until triggered by privileged actions. Specifically, the attack requires an administrator to approve the attacker's submitted review, which moves it from pending status to public visibility. Following approval, if the data is exported via the plugin and then re-imported using default column mapping settings, the vulnerability can be fully realized under certain database configuration conditions. These conditions include scenarios where the WordPress database table prefix is not set to the literal string wp_, when the CSV file lacks a comment_ID mapping field, or when the original review has been trashed rather than permanently deleted. In these cases, the import process takes an INSERT branch that fails to sanitize the data properly before writing it back into the database, thereby preserving and potentially amplifying the malicious payload for subsequent execution by any user accessing the affected pages.

From a threat intelligence perspective, this vulnerability aligns with MITRE ATT&CK technique T1059, Command and Scripting Interpreter, specifically through browser-based scripting languages like JavaScript. The attacker's goal is typically to steal session cookies, hijack administrative sessions, or perform actions on behalf of the victim user within the context of the trusted website. Because the vulnerability requires an administrator to approve the review before it becomes active, the attack vector leverages social engineering or privilege escalation tactics where the initial foothold is established by a lower-privilege actor and elevated through legitimate administrative workflows. This multi-stage exploitation path highlights the importance of securing not just direct input fields but also data flows that involve storage, retrieval, and re-processing of user content across different system components such as comment systems and CSV import utilities.

Mitigation strategies must address both immediate remediation and long-term defensive posture improvements. The primary solution is to upgrade the Product Import Export for WooCommerce plugin to a version later than 2.6.9, where developers have presumably implemented proper input validation and output encoding techniques consistent with OWASP guidelines. For sites unable to update immediately, administrators should exercise extreme caution when approving reviews from unknown sources or importing CSV files that contain user-generated content fields such as author names or descriptions. Implementing a Content Security Policy (CSP) header can also help mitigate the impact of successful XSS attacks by restricting the sources from which scripts are allowed to load and execute. Additionally, enforcing strict database table prefix conventions and reviewing import mappings for comment_ID dependencies may reduce the attack surface associated with the specific conditions that trigger the vulnerable INSERT branch. Regular security audits focusing on data sanitization practices in third-party plugins are essential to prevent similar vulnerabilities arising from complex interactions between WordPress core functions and plugin-specific logic.

Responsible

Wordfence

Reservation

11/16/2026

Disclosure

11/21/2026

Moderation

accepted

CPE

ready

EPSS

0.00347

KEV

no

Activities

very low

Sources

Do you need the next level of professionalism?

Upgrade your account now!