Welcart e-Commerce: Stored Cross-Site Scripting (CVE-2026-118070)
The Welcart e-Commerce plugin for WordPress contains a stored cross-site scripting (XSS) vulnerability via the 'gid' parameter, allowing unauthenticated attackers to execute arbitrary JavaScript in the administrative dashboard.
CVE search metadata
CVE search record: CVE-2026-118070. Severity: high. CVSS: 7.2. KEV: no. Product: Welcart e-Commerce (<= 2.12.5). Brief: Welcart e-Commerce: Stored Cross-Site Scripting (CVE-2026-118070). Brief link: https://feed.craftedsignal.io/briefs/2026-10-welcart-xss-bcb8d373/
Triage facts
Revision 1- Applicability
- Welcart e-Commerce (<= 2.12.5)
- Evidence
- Unknown
- Severity
- High
- Action
- Elevated
- Sources
- 1 public source
- Freshness
- Revision 1Oct 31, 07:52 UTC
- Vulnerabilities
- 1 CVE
- Source quality
- A5Likely
The Welcart e-Commerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting (XSS) via the 'gid' parameter in all versions up to and including 2.12.5. Insufficient input sanitization and output escaping allow unauthenticated attackers to inject malicious web scripts into order metadata. The script executes within the context of an administrator's browser when they access the compromised order details in the WordPress admin panel.
Attack Chain
- Attacker identifies a target WordPress site running a vulnerable version of the Welcart e-Commerce plugin.
- Attacker initiates a forged ROBOT PAYMENT browser-return request.
- Attacker injects a malicious JavaScript payload into the 'gid' parameter of the request.
- The Welcart plugin improperly sanitizes the 'gid' input and saves it into the order metadata within the WordPress database.
- An administrator logs into the WordPress dashboard and navigates to the compromised order page.
- The injected JavaScript payload executes in the administrator's browser session.
Impact
Successful exploitation allows unauthenticated attackers to execute arbitrary web scripts in the administrative context. This can lead to unauthorized actions performed on behalf of the administrator, session hijacking, or exfiltration of sensitive administrative information.
Recommendation
- Upgrade the Welcart e-Commerce plugin to a version beyond 2.12.5 once a fix is available from the vendor.
- Until patched, restrict access to the ROBOT PAYMENT browser-return endpoint to trusted sources or disable the integration if not required.
- Implement Content Security Policy (CSP) headers to mitigate the impact of XSS vulnerabilities by restricting the sources from which scripts can execute.
Immediate actions
Inventory WordPress sites running Welcart e-Commerce and identify versions <= 2.12.5.
Threat Hunt
Search WordPress access logs for anomalous POST requests to ROBOT PAYMENT return endpoints containing script tags or JavaScript event handlers in the 'gid' parameter.
Data: Web server access logs
Mitigations
Upgrade Welcart e-Commerce to a patched version once released.
CVE-2026-118070