# WP All Export <= 1.6.0 - Authenticated (Contributor+) Remote Code Execution via Custom Field Names

- **ID:** WPSEC-2026-4236
- **Plugin:** WP All Export – Drag & Drop Export to Any Custom CSV, XML & Excel (`wp-all-export`), https://wordpress.org/plugins/wp-all-export/
- **Affected versions:** from 1.1.0 before 1.7.0
- **Fixed in:** 1.7.0 (Update to 1.7.0 or later.)
- **Severity:** High 8.0 (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H)
- **Weakness:** CWE-94
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-11-29)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/wp-all-export
- **Fix released:** 2026-11-28
- **Published:** 2026-11-29
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4236/

## Description

The WP All Export plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1.6.0 due to export column names written in the plugin's function-call syntax being evaluated as PHP code, including column names taken from site data such as custom field keys. This makes it possible for authenticated attackers with Contributor-level access and above, who can add custom fields to their own posts, to execute arbitrary code on the server when an administrator runs an export that includes the field, such as one built with the Add All or Migrate options.

## References

- https://wpsec.com/vuln/WPSEC-2026-4236/
- https://plugins.svn.wordpress.org/wp-all-export/tags/1.7.0/
- https://wordpress.org/plugins/wp-all-export/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-4236/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
