Vulnerability Description
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.
CVSS Score
CRITICAL
Related Weaknesses (CWE)
References
- https://plugins.trac.wordpress.org/browser/product-input-fields-for-woocommerce/
- https://plugins.trac.wordpress.org/browser/product-input-fields-for-woocommerce/
- https://plugins.trac.wordpress.org/browser/product-input-fields-for-woocommerce/
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3819954%40product-inp
- https://www.wordfence.com/threat-intel/vulnerabilities/id/2b729c88-9a7e-4729-bec
FAQ
What is CVE-2026-104998?
CVE-2026-104998 is a vulnerability with a CVSS score of 9.8 (CRITICAL). 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 ...
How severe is CVE-2026-104998?
CVE-2026-104998 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2026-104998?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.