CVE-2025-6222 File upload in WooCommerce Refund And Exchange with RMA - Warranty Management, Refund Policy, Manage User Wallet
Unauthenticated attackers can upload arbitrary files via missing validation, potentially leading to remote code execution on WordPress sites using this plugin.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-6222?
CVE-2025-6222 is a critical vulnerability in WP Swings WooCommerce Refund And Exchange with RMA - Warranty Management, Refund Policy, Manage User Wallet, published on 18 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The WooCommerce Refund And Exchange with RMA - Warranty Management, Refund Policy, Manage User Wallet theme for WordPress is vulnerable to arbitrary file uploads due to missing file type validation in the 'ced_rnx_order_exchange_attach_files' function in all versions up to, and including, 3.2.6. This makes it possible for unauthenticated attackers to upload arbitrary files on the affected site's server which may make remote code execution possible.
Weakness: CWE-434
Which versions are affected by CVE-2025-6222?
How do I fix CVE-2025-6222?
No fix has been published for CVE-2025-6222 yet. Limit exposure of the affected software until one is available.
Is CVE-2025-6222 being exploited?
There is no known exploitation of CVE-2025-6222 in the wild and no public exploit code.
Sources
Also known as GHSA-p56f-8pmf-r6mf.