CVE-2026-104998

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

Published Nov 26, 2026 CVSS 3.1 · 9.8 Critical EPSS n/a KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
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.
Title Product Input Fields for WooCommerce <= 2.1.0 - Unauthenticated Arbitrary File Upload via Cart File Upload Field
Weaknesses CWE-434
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Subscriptions

No data.

Weaknesses

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Nov 26, 2026, 2:36 PM
Reserved
Oct 2, 2026, 7:57 PM

No data.