SECURITYCRITICALCVE-2026-104998

CVE-2026-104998: Product Input Fields for WooCommerce Unauthenticated File Upload (CVSS 9.8)

The plugin accepts uploads without checking file type and stores them in a web-reachable folder. Versions up to 2.1.0 are affected; no fixed version is named.

Dylan H.

Security Team

November 27, 2026
2 min read
CVE-2026-104998: Product Input Fields for WooCommerce Unauthenticated File Upload (CVSS 9.8)

Critical severity

Rated critical. Prioritise patching — see the remediation guidance below.

Affected Products

  • Product Input Fields for WooCommerce 2.1.0 and earlier

Summary

CVE-2026-104998 is an arbitrary file upload flaw in the Product Input Fields for WooCommerce plugin for WordPress. The NVD record was published on November 26, 2026 and is marked "Deferred", so NVD has not added its own analysis. The CVSS 3.1 score is 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H). The weakness is CWE-434, unrestricted upload of a file with a dangerous type.

Details

The process_file_input_field function does not validate file types. It trusts the client-supplied Content-Type header and saves uploads under their original filenames in a pif_temp directory. That directory has no .htaccess or index.php protection, so uploaded files can be fetched over the web and may execute. An unauthenticated attacker could use this to run code on the server.

Exploitation depends on configuration: an administrator must have set up a File-type Product Input Field with the "Show thumbnail" option enabled. Sites that do not use that field type are not exposed through this path.

ItemDetail
CVECVE-2026-104998
CVSS 3.19.8
WeaknessCWE-434
AffectedAll versions up to and including 2.1.0
FixedNot stated in the record
ExploitationNo in-the-wild exploitation reported in the sources reviewed

The record references a WordPress.org changeset (r3819954) but does not name a patched release.

  1. Check your plugin version. If it is 2.1.0 or earlier, look in the WordPress plugin directory for a newer release and update.
  2. If no fixed release is available, disable any File-type Product Input Field that uses "Show thumbnail", or deactivate the plugin.
  3. Inspect the pif_temp upload directory for files with .php or other executable extensions, and remove anything you did not expect.
  4. Block script execution in upload directories at the web server level.
  5. Review web logs for POST requests to cart endpoints that carry file uploads.

References