# CVE-2026-118070: Welcart e-Commerce stored cross-site scripting via gid parameter

Source: https://junglewise.ai/threats/cve-2026-118070-the-welcart-e-commerce-plugin-for-wordpress-is-vulnerable-to  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-10-31. Updated: 2026-10-31  
License: CC BY 4.0 with a link back

CVE-2026-118070 · Severity: high · CVSS 7.2 · Published 2026-10-31

Welcart is an e-commerce plugin for WordPress that allows online stores to process payments and manage orders. An unauthenticated attacker can inject malicious scripts into order records through a forged payment return request, which then execute with full privileges when a store administrator views that order in WordPress. This could allow attackers to steal administrator credentials, modify orders, or perform other malicious actions within the store.

Technologies: [Welcart e-Commerce](https://junglewise.ai/threats/technologies/welcart-e-commerce-1). Vendors: [Welcart](https://junglewise.ai/threats/vendors/welcart).

## Quick answers

**Is CVE-2026-118070 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-118070 being exploited in the wild.

**How severe is CVE-2026-118070?** High severity, with a CVSS score of 7.2, published 31 October 2026.

**Which products and versions are affected?** Welcart e-Commerce up to and including 2.12.5.

**Is there a fix for CVE-2026-118070?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-118070 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-2026-118070?** Check whether you run Welcart e-Commerce at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

The Welcart plugin fails to properly sanitize and escape the 'gid' parameter, allowing stored cross-site scripting (XSS) attacks. An unauthenticated attacker can inject a malicious payload by forging a ROBOT PAYMENT browser-return request; the payload is stored in order metadata and executes in the admin context when an administrator opens the affected order. This requires no authentication, user interaction, or special network access.

## Affected products

- Welcart e-Commerce up to and including 2.12.5

## Timeline

- 2026-10-31: disclosed

## References

- [https://plugins.trac.wordpress.org/browser/usc-e-shop/tags/2.12.5/classes/paymentJPayment.class.php](https://plugins.trac.wordpress.org/browser/usc-e-shop/tags/2.12.5/classes/paymentJPayment.class.php)
- [https://plugins.trac.wordpress.org/browser/usc-e-shop/tags/2.12.5/functions/template_func.php](https://plugins.trac.wordpress.org/browser/usc-e-shop/tags/2.12.5/functions/template_func.php)

## Related threats

- [Welcart e-Commerce plugin IDOR in member account modification](https://junglewise.ai/threats/cve-2026-119166-the-welcart-e-commerce-plugin-for-wordpress-is-vulnerable-to)
- [Welcart e-Commerce authorization bypass in SKU management](https://junglewise.ai/threats/cve-2026-111032-the-welcart-e-commerce-wordpress-plugin-before-2-12-6-does-not)
- [Welcart e-Commerce open redirect via usces_referer parameter](https://junglewise.ai/threats/cve-2026-111031-the-welcart-e-commerce-wordpress-plugin-before-2-12-6-does-not)
- [Welcart e-Commerce SQL injection via log_id parameter](https://junglewise.ai/threats/cve-2026-111027-the-welcart-e-commerce-wordpress-plugin-before-2-12-6-does-not)
- [Welcart e-Commerce SQL injection in order search](https://junglewise.ai/threats/cve-2026-107752-the-welcart-e-commerce-plugin-for-wordpress-is-vulnerable-to)
