# CVE-2026-15039: WordPress giftware plugin arbitrary file upload leading to RCE

Source: https://junglewise.ai/threats/cve-2026-15039-wordpress-giftware-plugin-arbitrary-file-upload-leading-to-rce  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-08-12. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2026-15039 · Severity: critical · CVSS 9.8 · Published 2026-08-12

The giftware WordPress plugin for WooCommerce gift cards fails to validate uploaded files, allowing unauthenticated attackers to upload and execute PHP code on the web server. An attacker can upload a malicious PHP file disguised as an image, then access it directly to run arbitrary code and take complete control of the affected website.

Vendors: [WP Swings](https://junglewise.ai/threats/vendors/wp-swings).

## Quick answers

**Is CVE-2026-15039 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-15039 being exploited in the wild.

**How severe is CVE-2026-15039?** Critical severity, with a CVSS score of 9.8, published 12 August 2026.

**Which products and versions are affected?** WP Swings Giftware before 4.2.10.

**Is there a fix for CVE-2026-15039?** A patch was published on 2026-08-12: Fixed in version 4.2.10 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-15039 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-2026-15039?** Check whether you run WP Swings Giftware at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

The vulnerability is an unauthenticated arbitrary file upload flaw in the plugin's add-to-cart upload handler. The vulnerable component fails to validate file types when processing gift card browse image uploads, accepting a .php file with an image Content-Type header. An attacker can craft a POST request to the product page (no authentication required, only a public nonce is needed) to upload a PHP payload, which is then written unchanged to wp-content/uploads/wps_browse/. The uploaded PHP file can be directly requested via HTTP to achieve remote code execution. The vulnerability was fixed in version 4.2.10.

## Affected products

- WP Swings giftware before 4.2.10

## Timeline

- 2026-08-10: disclosed: Publicly published on WPScan
- 2026-08-12: patched: Fixed in version 4.2.10
- 2026-08-12: advisory

## References

- [https://wpscan.com/vulnerability/b7b3308c-430e-4bc3-a3df-da20d47cf314/](https://wpscan.com/vulnerability/b7b3308c-430e-4bc3-a3df-da20d47cf314/)
