Welcart e-Commerce <= 2.12.4 - Authenticated (Editor+) SQL Injection via Order List Search Condition Cookie
- ID
- WPSEC-2026-0930
- Plugin
- Welcart e-Commerce (usc-e-shop)
- Affected
- all versions before 2.12.5
- Remediation
- Update to 2.12.5 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
- Weakness
- CWE-89
- Usage
- Plugin Low · Affected versions Low among sites WPSec scans, 2026-10-14
- Attack surface
- Welcart e-Commerce on WPSec AttackSurface
- Fix released
- Published
Description
The Welcart e-Commerce plugin for WordPress is vulnerable to SQL Injection via the search condition cookie of the legacy order list in all versions up to, and including, 2.12.4, due to the 'searchSql' and 'searchSkuSql' SQL fragments being read back from a user-controlled cookie and placed into the order query's HAVING/WHERE clause without being rebuilt or escaped. The order and product CSV exports use the same legacy list code, so the flaw is reachable with default settings. This makes it possible for authenticated attackers with order management access (Editor-level and above by default) to append SQL to existing queries and extract sensitive information from the database.
References
- https://wpsec.com/vuln/WPSEC-2026-0930/
- https://plugins.svn.wordpress.org/usc-e-shop/tags/2.12.5/
- https://wordpress.org/plugins/usc-e-shop/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS