Junglewise Threat Intelligence

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

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

Vendors: WP Swings.

Executive brief

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.

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