Expivi 3D Product Configurator (WooCommerce) — Unauthenticated RCE via xpv_image (CVE-2026-103889)
Published: 2026-11-25 • Researcher: Keenan Scott (scottk817 / kayes817); vulnerability discovered by Osman Hussein, Onvio B.V.
- Severity
- Critical
- CVE
- CVE-2026-103889
- Category
- web
- Affected product
- 3D Product Configurator for WooCommerce (Expivi) WordPress plugin
- Affected versions
- All versions up to and including 2.16.2; fixed in 2.16.3. NVD product and CPE range lists are empty in the worklist — see references.
- Disclosed
- 2026-11-25
- Patch status
- Patched
Tags
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-103889
- https://www.cve.org/CVERecord?id=CVE-2026-103889
- https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/expivi/3d-product-configurator-for-woocommerce-2162-unauthenticated-remote-code-execution-via-xpv-image-parameter
- https://plugins.trac.wordpress.org/browser/expivi/tags/2.16.2/classes/pdf/class-pdf.php#L34
- https://plugins.trac.wordpress.org/browser/expivi/tags/2.16.2/classes/woocommerce/class-expivi-cart-manager.php#L95
- https://plugins.trac.wordpress.org/browser/expivi/tags/2.16.2/templates/pdf/pdf-configuration-details.phtml#L199
- https://wordpress.org/plugins/expivi/
- https://github.com/kayes817/CVE-2026-103889
- https://cwe.mitre.org/data/definitions/434.html
Archive entry
intelseclab/poc-archiveOn this page
Metadata
| Field | Value |
|---|---|
| Date Added | 2026-11-25 |
| Last Updated | 2026-10-11 |
| Author / Researcher | Keenan Scott (scottk817 / kayes817); vulnerability discovered by Osman Hussein, Onvio B.V. |
| CVE / Advisory | CVE-2026-103889 |
| Category | web |
| Severity | Critical |
| CVSS Score | 9.8 (CVSSv3.1 base score; vector not published in the worklist — see references) |
| Status | PoC |
| Tags | RCE, unauthenticated, WordPress, WooCommerce, Expivi, Dompdf, PHP-injection, CWE-434, wp_loaded |
| Related | N/A |
Affected Target
| Field | Value |
|---|---|
| Software / System | 3D Product Configurator for WooCommerce (Expivi) WordPress plugin |
| Versions Affected | All versions up to and including 2.16.2; fixed in 2.16.3. NVD product and CPE range lists are empty in the worklist — see references. |
| Language / Platform | PHP; WordPress on Apache/PHP-FPM; test lab uses WordPress 6.9.4 on PHP 8.2 with Apache |
| Authentication Required | No |
| Network Access Required | Yes |
Summary
The Expivi 3D Product Configurator for WooCommerce plugin for WordPress, versions up to and including 2.16.2, contains an unauthenticated remote code execution flaw. The plugin registers a handler on the WordPress loaded hook that is meant to verify a nonce and the current user, but the entire check sits inside a block comment with no replacement, so a single POST to any URL on the site reaches the PDF generation path. The image field of that request is copied into an HTML template without sanitisation and rendered by Dompdf with PHP execution enabled, so an attacker can place PHP code in the document and have the server run it. The result is command execution as the WordPress web user; the public proof of concept returns command output base64 encoded inside the generated response.
Vulnerability Details
Root Cause
The plugin’s cart manager (classes/woocommerce/class-expivi-cart-manager.php, lines 95, 212, 238 and 598 of the 2.16.2 tree) registers a wp_loaded handler for the PDF submit flow. The only authentication and nonce verification in that handler is enclosed in a block comment with nothing replacing it, so the handler is reachable without a session, without a valid nonce, and from any URL on the site. Inside the handler, the xpv_image POST parameter is echoed unescaped into the Dompdf template templates/pdf/pdf-configuration-details.phtml (line 199). The PDF class (classes/pdf/class-pdf.php, line 34) renders that template with Dompdf configured with PHP execution enabled, which makes Dompdf’s PHP renderer execute any <script type="text/php"> block embedded in the attacker-controlled value.
Attack Vector
An unauthenticated HTTP POST to any page of the vulnerable WordPress site, with a form body containing xpv_submit_id=xpv_submit_pdf, a valid-looking xpv_configuration JSON blob referencing a published product, and an xpv_image value shaped as a broken attribute followed by a PHP script block, for example a closing quote and script tag wrapping PHP that calls shell_exec. Because the handler runs on wp_loaded, no plugin-specific route or nonce URL is needed.
Impact
Remote code execution as the web server user (www-data in the reference lab). The PoC returns arbitrary command output base64 encoded in the response. A successful attacker can read or modify the WordPress database and configuration, steal secrets and customer data, pivot into the host, and persist through plugin or theme files writable by the web user.
Environment / Lab Setup
OS: Linux x86_64 (Docker Engine + Docker Compose v2)
Target: WordPress 6.9.4 on PHP 8.2 / Apache, WooCommerce 9.9.5,
Expivi 2.16.2, MariaDB 11.4.13, nginx 1.28 gateway bound to
127.0.0.1:8080
Attacker: Any host with Python 3 (standard library only)
Tools: docker compose, Python 3, curlSetup Steps
| |
The upstream lab downloads pinned plugin archives from the official WordPress service and verifies SHA-256 hashes during the image build. It does not bundle or execute the exploit.
Proof of Concept
Step-by-Step Reproduction
- Start the lab —
docker compose up -d --build, wait for thesetupservice to finish, and confirmhttp://127.0.0.1:8080serves the shop. Product ID100exists by construction. - Configure the PoC — edit the globals at the top of
CVE-2026-103889.py:Python1 2 3 4TARGET_URL = "http://127.0.0.1:8080/" COMMAND = "id" VERIFY_TLS = True PRODUCT_ID = 100 # or None to autodiscover via the REST API - Run the exploit — the script queries
/wc/store/v1/productsor/wp/v2/product(or uses the supplied ID), builds the PHP payload, and POSTs it to the site root:Shell script1python3 CVE-2026-103889.py - Extract the output — the injected PHP echoes a random marker, the base64 encoding of the command output, and the marker again; the script splits on the marker and decodes the result.
The request body is effectively:
| |
Exploit Code
See
CVE-2026-103889.pyfor the full script; upstream attribution is inupstream-README.md.
| |
Expected Output
| |
Detection & Indicators of Compromise
- POST requests to arbitrary paths (including
/) withxpv_submit_id=xpv_submit_pdfin the body — the legitimate flow normally arrives from the configurator page. xpv_imagevalues containing<script type=text/php>,<script type="text/php">, PHP tokens such asshell_exec,base64_encode,chr(,system(, or longchr(...)concatenation chains.- Responses that contain an unexpected random marker string surrounding base64 data, or oversized error pages from the PDF renderer.
- PHP warnings originating from
class-pdf.php,class-expivi-cart-manager.phpor Dompdf indebug.log, especially aroundwp_loaded. - Outbound connections or child processes spawned by the web server user shortly after a PDF submit request.
Example access-log / request signature:
| |
SIEM / IDS rule (example):
| |
Remediation
| Action | Detail |
|---|---|
| Patch | Update the 3D Product Configurator for WooCommerce (Expivi) plugin to version 2.16.3 or later; verify the plugin version on the Plugins screen after the update. |
| Workaround | If the update cannot be applied immediately, deactivate the plugin, or block unauthenticated POST bodies carrying xpv_submit_id=xpv_submit_pdf / xpv_image at the reverse proxy or WAF. |
| Config Hardening | Run WordPress with least-privilege web-user permissions and DISALLOW_FILE_EDIT, keep Dompdf-based plugins patched, restrict outbound egress from the web tier, and review the host for compromise if a vulnerable version was Internet-exposed; check the WordPress uploads directory, the web user’s home and system temp paths for unexpected files or web shells. |
References
- CVE-2026-103889 — NVD
- CVE-2026-103889 — CVE Program record
- Wordfence vulnerability record
- Expivi 2.16.2 source — classes/pdf/class-pdf.php (L34)
- Expivi 2.16.2 source — class-expivi-cart-manager.php (L95, L212, L238, L598)
- Expivi 2.16.2 source — templates/pdf/pdf-configuration-details.phtml (L199)
- Expivi plugin on WordPress.org
- Source PoC — kayes817/CVE-2026-103889
- CWE-434: Unrestricted Upload of File with Dangerous Type
Notes
Auto-ingested from https://github.com/kayes817/CVE-2026-103889 on 2026-11-25.
Review verdict: this is a genuine exploit, not a detector. The single Python script performs the full unauthenticated chain — product discovery, payload construction, HTTP delivery and output exfiltration — against a WordPress site running the vulnerable plugin. The repository also ships an optional Docker reproduction lab (Dockerfile, compose file, setup script, nginx config), which was copied because it makes the entry reproducible; the lab itself contains no exploit code.
Limitations: the upstream README states the script was source-verified against plugin version 2.16.2 and should be validated in an isolated lab before operational use. It was not executed as part of this ingestion (exploit code was not run), so the documented command output is the upstream claim, not a local reproduction. The chain also assumes at least one published WooCommerce product exists (or a known product ID) and that Dompdf PHP execution remains enabled in the target build. Successful exploitation returns command output from a PDF response only; it does not establish an interactive shell on its own.
License status: the upstream README states MIT, but no LICENSE file is present in the cloned repository, so the license is unverified. Files are archived with attribution for authorized security research only. Use solely against systems you own or have written permission to test.
| |