
Python proof-of-concept and Docker lab for CVE-2026-103889, an unauthenticated RCE in the Expivi 3D Product Configurator for WooCommerce (≤2.16.2) via the xpv_image parameter.
Made by scottk817
This script is a proof of concept for CVE-2026-103889, a critical unauthenticated remote code execution vulnerability in the 3D Product Configurator for WooCommerce plugin by Expivi. Versions up to and including 2.16.2 are affected.
The vulnerability was discovered by Osman Hussein of Onvio B.V.
This script is intended for educational purposes and authorized security testing only. Do not use it against systems you do not own or do not have explicit permission to test. Unauthorized access to computer systems is illegal and unethical.
CVE-2026-103889 is caused by missing authentication and nonce checks in the plugin's wp_loaded request handler. User-controlled data supplied through the xpv_image parameter is inserted into an HTML template without sanitization and rendered by Dompdf with PHP execution enabled.
An unauthenticated attacker can inject PHP into the generated document and execute arbitrary commands on the WordPress server.
This script demonstrates the vulnerability by:
xpv_image value containing PHP code.Affected versions: Expivi 3D Product Configurator for WooCommerce <= 2.16.2
Patched version: 2.16.3
CWE: CWE-434
CVSS: 9.8 (Critical)
The script uses only Python standard-library modules, so no additional packages are required.
Clone or download this repository, then enter the directory containing the PoC:
Edit the global settings near the top of CVE-2026-103889.py:
TARGET_URL = "http://example.com/"
COMMAND = "id"
TIMEOUT = 20
VERIFY_TLS = True
PRODUCT_ID = None
TARGET_URL: Base URL of the authorized WordPress target.COMMAND: Operating-system command to execute.TIMEOUT: HTTP timeout in seconds.VERIFY_TLS: Set to False only when testing a lab system with an untrusted certificate.PRODUCT_ID: Optional WooCommerce product ID. Leave as None to use REST API autodiscovery.Run the script with Python 3:
python3 CVE-2026-103889.py
If the target is vulnerable, the script prints the command output. For example, with COMMAND = "id":
uid=33(www-data) gid=33(www-data) groups=33(www-data)
If product autodiscovery fails, set PRODUCT_ID to the ID of a published WooCommerce product and run the script again.
Testing status: The PoC has been source-verified against plugin version 2.16.2. Validate it in an isolated, authorized lab before relying on it during an assessment.
Update the Expivi plugin to version 2.16.3 or later. Administrators should also review the affected WordPress host for signs of compromise if a vulnerable version was exposed to untrusted users.
This project is licensed under the MIT License. See the LICENSE file for details.