CVE-2026-104998: Product Input Fields for WooCommerce <= 2.1.0 - Unauthenticated Arbitrary File Upload via Cart File Upload Field

Published Nov 26, 2026
·
Updated

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 processfileinputfield function. This is due to missing file type validation in the processfileinputfield function, which accepts the client-supplied multipart Content-Type header as the sole type gate and writes the uploaded file to the unprotected piftemp 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 piftemp/ upload directory is created without .htaccess or index.php restrictions, leaving written files directly web-accessible and executable on default Apache/modphp configurations.

Affected Software

1 affected component
Product Input Fields for WooCommerce<=2.1.0

Event History

Nov 26, 2026
CVE Published
via MITRE·02:36 PM
Data Sourced
via MITRE·02:36 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which sites are exposed to unauthenticated exploitation?

Sites running Product Input Fields for WooCommerce version 2.1.0 or earlier are exposed if an administrator has configured at least one product with a File-type Product Input Field and enabled the "Show thumbnail" option. This is described as a standard use of the feature.

2

What does an attacker need to exploit this issue?

No authentication, privileges, or user interaction are required. The attacker needs access to the affected site's product/cart file-upload functionality and can supply a multipart Content-Type header and filename for the uploaded file.

3

Are files uploaded through the vulnerable path reachable by web requests?

Yes. Uploaded files are written to the pif_temp directory, which is created without .htaccess or index.php restrictions; on default Apache/mod_php configurations, files written there are directly web-accessible and may be executable.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203