# CVE-2022-4047: Return Refund and Exchange For WooCommerce < 4.0.9 - Unauthenticated Arbitrary File Upload

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 6.85%, higher than 94% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-12-26T12:28:13.684Z
- Modified: 2026-06-17T05:19:50.420Z
- Weaknesses: CWE-434
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: WPScan

## Description

The Return Refund and Exchange For WooCommerce WordPress plugin before 4.0.9 does not validate attachment files to be uploaded via an AJAX action available to unauthenticated users, which could allow them to upload arbitrary files such as PHP and lead to RCE

(As written by CVE List.)

## Affected

- Unknown Return Refund and Exchange For WooCommerce: before 4.0.9
- wpswings return_refund_and_exchange_for_woocommerce: before 4.0.9

## Every score

- CISA-ADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://wpscan.com/vulnerability/8965a87c-5fe5-4b39-88f3-e00966ca1d94> (exploit, technical-description, third-party-advisory, vdb-entry)

## Sources

- CVE List: [CVE-2022-4047](https://www.cve.org/CVERecord?id=CVE-2022-4047), CVE Terms of Use, modified 2025-04-14
- NVD: [CVE-2022-4047](https://nvd.nist.gov/vuln/detail/CVE-2022-4047), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-4047 · Whole record: https://cve.day/CVE-2022-4047.json · Rebuilt by cve.day 2026-11-25T22:58:17.879Z
