WordPress Comments Import & Export Plugin Data Modification Vulnerability

Vulnerability

A vulnerability exists in the WordPress Comments Import & Export plugin for WooCommerce, affecting all versions prior to 2.4.4. The issue stems from a missing capability check in the save_settings function, which allows unauthorized data modification. Additionally, the plugin inadequately sanitizes and escapes FTP settings, enabling authenticated attackers with Subscriber-level access or higher to inject arbitrary web scripts into the plugin's settings page. These scripts would execute when an administrative user accesses the modified page.

Impact

Exploitation of this vulnerability could lead to unauthorized data modification and the injection of malicious scripts that execute in the context of an admin user.

Reproduction

To reproduce this vulnerability, an authenticated user with Subscriber-level access can inject scripts into the FTP settings fields. After saving the settings, the injected scripts will run when an admin user visits the Comments Import/Export plugin settings page.

Remediation

Users are advised to update the WordPress Comments Import & Export plugin for WooCommerce to version 2.4.4 or later.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
3.4
impact
5.4
exploitability
6.2
remediation
7.7
relevance
0.0
threat
4.8
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.