Skip to content
Back to search

CVE-2026-104998

CRITICAL
9.8NVD

Summary

generated automatically from NVD data

The Product Input Fields for WooCommerce plugin for WordPress, in versions up to and including 2.1.0, has an arbitrary file upload flaw (CWE-434) in its process_file_input_field function. The function trusts the client-supplied multipart Content-Type header as the only type check and saves files to the unprotected pif_temp directory under the original filename. Unauthenticated attackers could upload executable files and achieve remote code execution when a product uses a File-type field with "Show thumbnail" enabled. The CVSS v3.1 score is 9.8 (CRITICAL).

NVD 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.

Share:

EPSS · FIRST.org

1.3%probability of exploitation in the next 30 days

Higher than 70% of scored CVEs

EPSS (Exploit Prediction Scoring System) estimates, from observed exploitation activity, how likely a CVE is to be exploited in the next 30 days. It complements CVSS, which measures severity, not likelihood. Score of 2026-11-28, recomputed daily by FIRST.org.

In-depth analysis on cveo.tech

This CVE is covered in an article: context, affected versions and published fixes.

Similar CVEs

Other vulnerabilities of type CWE-434

…

Know which CVEs hit the versions you run.

Add the product and its version: cveo.tech lists the CVEs that affect it right away, then alerts you by email when a new one affects it — including before NVD has finished its analysis. Free, an account is all it takes.