Welcart e-Commerce <= 2.12.5 - Authenticated (Editor+) SQL Injection via 'log_id' and 'log_key' Parameters
- ID
- WPSEC-2026-1571
- Plugin
- Welcart e-Commerce (usc-e-shop)
- Affected
- all versions before 2.12.6
- Remediation
- Update to 2.12.6 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-23
- 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 '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.
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/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS