---
id: CVE-2026-118070
title: >-
  Welcart e-Commerce <= 2.12.5 - Unauthenticated Stored Cross-Site Scripting via
  'gid' Parameter
summary: >-
  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
  possi…
severity: high
cvss: 7.2
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N'
cvssSource: cna
cwe:
  - CWE-79
vendor: uscnanbu
product: Welcart e-Commerce
affected:
  - welcart_e-commerce <= 2.12.5
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-01T17:34:30.949432Z'
published: '2026-10-31'
updated: '2026-11-01'
sourceUpdated: '2026-11-01T17:44:28.530Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-118070'
references:
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/97e73872-bd1a-4b3a-9021-d0cd648456eb?source=cve
  - url: >-
      https://plugins.trac.wordpress.org/browser/usc-e-shop/tags/2.12.5/functions/template_func.php#L3279
  - url: >-
      https://plugins.trac.wordpress.org/browser/usc-e-shop/tags/2.12.5/classes/paymentJPayment.class.php#L556
  - url: >-
      https://plugins.trac.wordpress.org/browser/usc-e-shop/tags/2.12.5/functions/utility.php#L1553
  - url: 'https://plugins.trac.wordpress.org/changeset/3760784/usc-e-shop'
  - url: >-
      https://plugins.trac.wordpress.org/changeset/3760784/usc-e-shop/trunk/functions/template_func.php
tags:
  - cve.org
epss: 0.00241
epssPercentile: 0.15346
ingestedAt: '2026-11-05T19:30:42.597Z'
---

## Overview

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.

## Affected

- `welcart_e-commerce <= 2.12.5`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
