VYPR
Unrated severityNVD Advisory· Published May 20, 2022· Updated Apr 28, 2026

WordPress Checkout Files Upload for WooCommerce plugin <= 2.1.2 - Cross-Site Scripting (XSS) vulnerability

CVE-2022-29425

Description

Cross-Site Scripting (XSS) vulnerability in WP Wham's Checkout Files Upload for WooCommerce plugin <= 2.1.2 at WordPress.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Checkout Files Upload for WooCommerce ≤ 2.1.2 has an unvalidated file upload field that allows stored XSS through malicious file names.

Vulnerability

The Checkout Files Upload for WooCommerce plugin versions 2.1.2 and earlier contain a Cross-Site Scripting (XSS) vulnerability in the file upload functionality. The plugin fails to properly sanitize file names or file metadata submitted via the WooCommerce checkout page, allowing an attacker to inject arbitrary JavaScript into the upload field. This affects versions up to and including 2.1.2 as disclosed in the CVE description [1].

Exploitation

To exploit the vulnerability, an attacker needs no special privilege—any unauthenticated user on the WordPress site can reach the checkout page where the file upload field is displayed. The attacker uploads a file with a malicious name containing JavaScript payload (e.g., .pdf). The plugin does not validate or escape the file name before storing it, so when the file name is later displayed (e.g., in admin order details or email notifications), the script executes in the context of the victim's browser.

Impact

Successful exploitation allows the attacker to execute arbitrary JavaScript in the browser of any user who views the infected file name. This can lead to session hijacking, credential theft, defacement, or redirection to malicious sites. The attacker gains the ability to perform actions as the logged-in user (administrator or customer) without authentication.

Mitigation

The vulnerability is fixed in version 2.2.0 of the plugin. Users should update to the latest version (2.2.6 as of May 2026) via the WordPress plugin repository [1]. No workarounds are documented; the only mitigation is to upgrade. The plugin is actively maintained, and no EOL status has been announced.

AI Insight generated on May 24, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

2

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

2

News mentions

0

No linked articles in our index yet.