{
 "id": "WPSEC-2026-0930",
 "url": "https://wpsec.com/vuln/WPSEC-2026-0930/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-0930/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-0930/index.md",
 "title": "Welcart e-Commerce <= 2.12.4 - Authenticated (Editor+) SQL Injection via Order List Search Condition Cookie",
 "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.",
 "plugin": {
  "slug": "usc-e-shop",
  "name": "Welcart e-Commerce",
  "full_name": "Welcart e-Commerce",
  "wordpress_org": "https://wordpress.org/plugins/usc-e-shop/",
  "advisories_url": "https://wpsec.com/vuln/plugin/usc-e-shop/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/usc-e-shop"
 },
 "type": "SQLI",
 "cwe": [
  "CWE-89"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 4.9,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "2.12.5",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 2.12.5"
  ]
 },
 "introduced_in": null,
 "fixed_in": "2.12.5",
 "remediation": "Update to 2.12.5 or later.",
 "fix_released": "2026-10-13T08:02:30+00:00",
 "published": "2026-10-14T13:49:25+00:00",
 "updated": "2026-10-14T13:19:49.794880+00:00",
 "also_published_as": null,
 "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/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/usc-e-shop",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Low",
  "affected_versions": "Low",
  "as_of": "2026-10-14"
 }
}