---
id: "CVE-2026-118070"
kind: "vulnerability"
aliases: ["CVE-2026-118070"]
title: "Welcart e-Commerce WordPress plugin: stored XSS via gid parameter"
severity: "high"
cvss: 7.2
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["e-commerce", "package", "welcart", "woocommerce-alternative", "wordpress"]
not_affected_if: ["plugin-not-installed", "plugin-version-above-2.12.5", "robot-payment-not-used"]
published_at: "2026-10-31T07:16:36+00:00"
first_seen_at: "2026-10-31T07:34:07+00:00"
updated_at: "2026-10-31T07:34:32+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-118070", "first_seen_at": "2026-10-31T07:34:07+00:00"}]
---

# Welcart e-Commerce WordPress plugin: stored XSS via gid parameter

The Welcart e-Commerce plugin for WordPress stores unsanitized input from the 'gid' parameter in order metadata, and the script runs when an administrator opens that order. An unauthenticated attacker can plant the payload through a forged payment return request, which can lead to script running in the admin's browser.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed Welcart e-Commerce plugin version in the WordPress admin plugin list; affected versions are all up to and including `2.12.5`.

## Fix

- Welcart e-Commerce: versions after `2.12.5` (the sources do not name the fixed version)

## Timeline

- 2026-10-31T07:34:07+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-118070

## From the sources

The Welcart e-Commerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'gid' parameter in all versions up to, and including, 2.12.5 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The payload is staged by an unauthenticated visitor who forges the ROBOT PAYMENT browser-return request, storing the malicious gid value in order metadata; the script then fires when an administrator opens that order in the WordPress admin panel.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
