Security Alert Summary
The WP All Import – Drag & Drop Import for CSV, XML, Excel & Google Sheets plugin for WordPress is reported vulnerable to reflected cross-site scripting (XSS) via the filepath parameter in all versions up to and including 4.0.0. Insufficient input sanitization and output escaping allow an unauthenticated attacker to inject scripts that execute if a user is tricked into interacting with a crafted link.
CVE Details
- CVE ID: CVE-2026-2830
- Affected plugin / component: WP All Import – Drag & Drop Import for CSV, XML, Excel & Google Sheets plugin for WordPress
- Affected versions: All versions up to and including 4.0.0
- Published: March 6, 2026 at 8:16:27 AM
- Last modified: March 6, 2026 at 8:16:27 AM
- CVSS v3.1: Base Score 6.1, Severity MEDIUM, Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Authentication / privileges / user interaction: No privileges required (unauthenticated); user interaction required
- Primary impact: Confidentiality: Low; Integrity: Low; Availability: None
- CWE / weakness: CWE-94 (Improper Control of Generation of Code)
Technical Details
The vulnerability is a reflected cross-site scripting (XSS) issue that stems from insufficient input sanitization and inadequate output escaping of the filepath parameter. When the plugin echoes or returns user-controlled data without proper encoding, an attacker can craft a URL containing a malicious script in the filepath parameter. If a user with a suitable browser context follows that URL (for example after being socially engineered to click a link), the injected script can execute in the user’s browser.
This is a reflected XSS flaw — the payload is delivered to the victim via a crafted link and executed in the victim’s browser session when the response reflects the unsanitized input. The CVE description identifies the lack of sanitization and escaping as the root cause.
How This Could Impact Your Website
Consider a site that uses WP All Import and has multiple user types: a site owner, internal staff members who manage content, and external contributors or contractors who upload import files or provide links. An attacker could send a crafted link that includes a malicious filepath value to an editor or contributor. If that user clicks the link, the attacker’s script runs in the context of the user’s browser.
Practical consequences consistent with the CVSS impacts include limited exposure of user-visible data (for example, content displayed to the clicked user or information accessible in that browser session) and the possibility of actions performed in the user’s browser that affect displayed content or form submissions. Because confidentiality and integrity impacts are rated low and availability is not impacted, this should not be interpreted as a direct server-side compromise, but it can increase the risk of targeted phishing or session-based manipulation against affected users.
If you’re unsure whether your site is affected or how to assess your current user roles and plugins, it may be worth having a professional review.
Recommended Actions
- Update the affected plugin as soon as a patched version is available. (The CVE entry does not specify a fixed version.)
- Review and reduce unnecessary user roles, especially contributor or editor accounts that might be targeted.
- Enforce strong passwords and two-factor authentication for editors and administrators.
- Remove unused or unmaintained plugins to reduce attack surface.
- Monitor site activity and logs for unusual behavior, especially unexpected redirects or suspicious user actions following clicks on external links.
If you’d like help reviewing your plugins, user roles, or overall WordPress security posture, our team at Freshy is happy to help.
References
- https://plugins.trac.wordpress.org/browser/wp-all-import/trunk/controllers/admin/import.php#L185
- https://plugins.trac.wordpress.org/browser/wp-all-import/trunk/libraries/XmlImportTemplate.php#L53
- https://plugins.trac.wordpress.org/browser/wp-all-import/trunk/libraries/XmlImportTemplateCodeGenerator.php#L283
- https://plugins.trac.wordpress.org/changeset/3474757/
- https://www.wordfence.com/threat-intel/vulnerabilities/id/afc85535-962d-479d-8580-9d02f7412930?source=cve