CVE-2026-118070
Description
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 WordPress components
-
Welcart e-Commerce Plugin · usc-e-shopUp to and including 2.12.5View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- uscnanbu Welcart e-Commerce — Up to and including 2.12.5
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/usc-e-shop/tags/2.12.5/classes/paymentJPayment.class.php#L556
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/usc-e-shop/tags/2.12.5/functions/template_func.php#L3279
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/usc-e-shop/tags/2.12.5/functions/utility.php#L1553
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/3760784/usc-e-shop
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/3760784/usc-e-shop/trunk/functions/template_func.php
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/97e73872-bd1a-4b3a-9021-d0cd648456eb?source=cve
- nvd.nist.gov Official NVD record