{
 "id": "WPSEC-2026-1571",
 "url": "https://wpsec.com/vuln/WPSEC-2026-1571/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-1571/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-1571/index.md",
 "title": "Welcart e-Commerce <= 2.12.5 - Authenticated (Editor+) SQL Injection via 'log_id' and 'log_key' Parameters",
 "description": "The Welcart e-Commerce plugin for WordPress is vulnerable to SQL Injection via the 'log_id' and 'log_key' parameters of the payment log and payment error log download and deletion features in all versions up to, and including, 2.12.5. This is due to user-supplied IDs being joined into a single prepared placeholder and then passed through stripslashes(), which removes the escaping applied by the prepared statement. This makes it possible for authenticated attackers with editor-level access and above (users with the wel_manage_order capability) to append additional SQL queries 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.6",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 2.12.6"
  ]
 },
 "introduced_in": null,
 "fixed_in": "2.12.6",
 "remediation": "Update to 2.12.6 or later.",
 "fix_released": "2026-10-23T02:01:40+00:00",
 "published": "2026-10-24T02:41:06+00:00",
 "updated": "2026-10-23T07:09:32.081071+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-1571/",
  "https://plugins.svn.wordpress.org/usc-e-shop/tags/2.12.6/",
  "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-23"
 }
}