CVE-2026-104998
Product Input Fields for WooCommerce <= 2.1.0 - Unauthenticated Arbitrary File Upload via Cart File Upload Field
Overview
The Product Input Fields for WooCommerce plugin for WordPress is vulnerable to Arbitrary File Upload in all versions up to, and including, 2.1.0 via the process_file_input_field function. This is due to missing file type validation in the process_file_input_field function, which accepts the client-supplied multipart Content-Type header as the sole type gate and writes the uploaded file to the unprotected pif_temp directory using the verbatim client-supplied filename. This makes it possible for unauthenticated attackers to upload files that may be executable, which makes remote code execution possible. Exploitation requires that an administrator has configured at least one product with a File-type Product Input Field with the "Show thumbnail" option enabled, which is a standard use of the feature; additionally, the pif_temp/ upload directory is created without .htaccess or index.php restrictions, leaving written files directly web-accessible and executable on default Apache/mod_php configurations.
Severity
| Score | Severity | Version | Technologies Affected |
|---|---|---|---|
| 9.8 | CRITICAL | 3.1Wordfence (CNA) | Tychesoftwares Product Input Fields for WooCommerce |
Details
- CVE ID
- CVE-2026-104998
- Status
- Deferred
- Assigner (CNA)
- Wordfence
- Published
- Nov 26, 2026
- Last modified
- Dec 1, 2026, 6:17 PM UTC
- Weaknesses
- CWE-434 · Unrestricted Upload of File with Dangerous Type
Affected Products
As published by the CNA in the CVE record.
tychesoftwaresProduct Input Fields for WooCommerce1 version range
- through 2.1.0
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/product-input-fields-for-woocommerce/tags/2.1.0/includes/class-pif-cart.php#L205
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/product-input-fields-for-woocommerce/tags/2.1.0/includes/class-pif-cart.php#L295
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/product-input-fields-for-woocommerce/tags/2.1.0/includes/class-pif-cart.php#L342
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset?reponame=&old=3819954%40product-input-fields-for-woocommerce&new=3819954%40product-input-fields-for-woocommerce
- wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/2b729c88-9a7e-4729-bec1-6e5f9bef4f2d?source=cve