CVE-2026-104998 Product Input Fields for WooCommerce file upload flaw
Unauthenticated file upload in Product Input Fields for WooCommerce up to 2.1.0 could lead to remote code execution. Check your version and plugin settings.
Published by phil.on on · Updated
How this vulnerability works
A WooCommerce add-on that adds extra fields to product pages saves customer-uploaded files in a publicly reachable folder without properly checking what kind of file they are.
- How it starts
A product page accepts an uploaded file
The shop owner has added a file upload box to at least one product and turned on the thumbnail option. Anyone visiting the page, with no account needed, can send a file to it.
- What goes wrong
The site trusts the sender's file label
The plugin decides whether a file is allowed based only on the type label the sender provides, and it keeps the sender's chosen file name. It then saves the file in a folder that the web server can serve and run.
- What it means for you
Uploaded code may run on the site
Because the saved file can be reached and run by the web server, an outsider could gain control of the website and its data. The source does not say whether this has happened in practice.
An everyday comparisonIt is like a parcel counter that lets anyone leave a package, believes the label the sender wrote on it, and puts it on a shelf that staff will open and follow instructions from.
A simplified explanation of the reported flaw. Actual risk depends on the affected version and how the system is used.
Affected products
- Product Input Fields for WooCommerce (WordPress plugin, Tyche Softwares), all versions from the initial release up to and including 2.1.0 — affected.
- A version that fixes the issue is not identified in the source data; consult the vendor advisory.
- CVSS v3.1 base score: 9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
- tychesoftwares Product Input Fields for WooCommerce ↗tychesoftwares / Product Input Fields for WooCommerce: 0 | <= 2.1.0 | affected | semver
Why it matters
The Product Input Fields for WooCommerce plugin lets shop owners add extra fields, such as a file upload box, to product pages. In versions up to and including 2.1.0, the code that handles those file uploads does not properly check what kind of file is being sent. It trusts a label supplied by the sender and saves the file under the sender's chosen name in a folder that can be reached directly from the web.
Because of this, someone who is not logged in could upload a file that the web server then runs as code. That could give an outsider control over the website and the data it holds. The source says this is only possible when an administrator has set up at least one product with a File-type input field and the "Show thumbnail" option turned on, which is a normal way to use the feature. No official fix or workaround is listed in the source data, so operators should follow the vendor advisory.
Checks and remediation
What to check
- Inventory every WordPress site that runs WooCommerce and confirm whether the Product Input Fields for WooCommerce plugin is installed.
- Check the installed plugin version from the WordPress admin Plugins screen or with
wp plugin list --fields=name,status,versionon the command line. Any version up to and including 2.1.0 is affected. - Look for products configured with a File-type Product Input Field with the "Show thumbnail" option enabled, since the source says this condition is required.
- Check whether a
pif_tempupload folder exists in the WordPress uploads directory and whether it contains unexpected files or is reachable from a browser. - Review web server and application logs for file uploads or requests to files under
pif_tempthat you cannot explain.
Remediation steps
- Apply an updated plugin release from the vendor as soon as one is available, following the vendor advisory. The source data does not name a fixed version, so confirm the target version with the vendor before upgrading.
- If no update is available, consider deactivating the plugin on sites where file-type input fields are not essential, and removing any File-type input field with "Show thumbnail" enabled from product configurations.
- Self-hosted Ubuntu/Linux: update the plugin through the WordPress admin or WP-CLI (
wp plugin update <plugin-slug>), then clear any caching layer. If you serve sites from container images, rebuild and redeploy those images so the updated plugin is included. - AWS: for sites on customer-managed EC2 instances, patch the plugin as above; the customer is responsible for the guest operating system and application updates. For managed WordPress hosting on AWS, ask the provider to confirm the patched plugin version.
- GCP: for sites on customer-managed Compute Engine instances, patch the plugin as above; the customer manages the application layer. For managed WordPress offerings on GCP, confirm patch status with the provider.
- Inspect and clean the
pif_tempfolder, delete files that are not expected, and restrict or remove the folder if it is not required. Keep in mind that deleting files does not repair a site that was already compromised. - Verify remediation: re-check the installed plugin version, confirm the
pif_tempfolder no longer contains unknown files, and test an upload through an affected product page to confirm the new behaviour is in place.
Patch status
Patch status unconfirmed.
Workarounds
Workaround not documented.
CVSS and CWE
CVSS 3.1 · 9.8 · Wordfence ↗CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Additional CVSS assessments by source and scope
- CVSS 3.1 · 9.8 · [email protected] ↗
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 3.1 · 9.8 · Wordfence ↗
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H





