CVE-2025-4212

Checkout Files Upload for WooCommerce <= 2.2.1 - Unauthenticated Stored Cross-Site Scripting

Published Nov 18, 2025 CVSS 3.1 · 7.2 High EPSS < 1% KEV · Not listed
Description
The Checkout Files Upload for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via file uploads in all versions up to, and including, 2.2.1 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in image files that will execute whenever a user accesses the injected page.

Analysis

AI-generated

Technical impact

The Checkout Files Upload for WooCommerce plugin stores uploaded images without proper sanitization or escaping. An attacker who can upload a crafted image can embed malicious JavaScript that will be executed when the image—or the page that references it—is viewed by any browser. This flaw enables arbitrary script execution in the context of the site, classifying it as a stored cross‑site scripting vulnerability (CWE-79).

Affected Systems

WordPress sites that have the Checkout Files Upload for WooCommerce plugin from wpwham, version 2.2.1 or earlier, are affected. The vulnerability exists solely in the plugin’s handling of file uploads and is independent of the operating system or WordPress core version.

Risk and Exploitability

The CVSS score of 7.2 indicates a high‑severity issue, and the EPSS score of less than 1 % suggests that exploitation is currently unlikely. The vulnerability is not listed in the CISA KEV catalog. Attackers need only to upload a malicious image to the public upload endpoint; no authentication is required. If the image is displayed to users, the injected script runs in their browsers, allowing the attacker to execute arbitrary code in the site’s context.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest vendor patch that resolves the stored XSS issue.
  • If a patch is not immediately available, disable or uninstall the Checkout Files Upload plugin and delete any stored image files that could contain injected scripts.
  • Restrict the file upload capability so that only authorized users or administrators can upload files, and validate uploads to accept only safe image types and enforce server‑side content checks.

Generated by OpenCVE AI on April 27, 2026 at 22:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Wordpress
Wordpress wordpress
Wpwham
Wpwham checkout Files Upload For Woocommerce
Vendors & Products Wordpress
Wordpress wordpress
Wpwham
Wpwham checkout Files Upload For Woocommerce
Type Values Removed Values Added
Description The Checkout Files Upload for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via file uploads in all versions up to, and including, 2.2.1 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in image files that will execute whenever a user accesses the injected page.
Title Checkout Files Upload for WooCommerce <= 2.2.1 - Unauthenticated Stored Cross-Site Scripting
Weaknesses CWE-79
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 8, 2026, 4:34 PM
Reserved
May 2, 2025, 11:46 AM
Status
Deferred
Published
Nov 18, 2025, 10:15 AM
Modified
Oct 18, 2026, 8:10 PM