{"id":"CVE-2026-45054","published":"2026-05-13T20:42:56Z","modified":"2026-05-14T12:51:18Z","title":"CubeCart: Authenticated SQL Injection via `sort[]` Parameter in Admin Orders Transactions Listing","vendor":"cubecart","product":"v6","tier":"tail","description":{"text":"CubeCart is an ecommerce software solution. Prior to 6.7.0, the admin orders-transactions listing page (admin.php?_g=orders&node=transactions) builds a raw ORDER BY SQL fragment from the attacker-controlled $_GET['sort'] array without column or direction validation. Both the column key and the direction value flow into the query string as bare SQL tokens, and the framework's sqlSafe() (mysqli escape_string) escapes only quote characters — none of which are required for ORDER BY injection. An authenticated administrator with the minimum CC_PERM_READ permission on orders can execute arbitrary SQL against the store database, including time-based blind extraction of admin password hashes, customer PII, and integrated payment-gateway credentials. This vulnerability is fixed in 6.7.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00398,"percentile":0.25554,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://github.com/cubecart/v6/security/advisories/GHSA-rm2f-rpcq-6w9f","tags":["x_refsource_CONFIRM"]}],"priority":{"score":8.5,"factors":[{"name":"EPSS percentile","points":5.11},{"name":"CVSS severity","points":3.43}]},"vendorSlug":"cubecart","affectedVersions":[{"vendor":"cubecart","product":"v6","versions":["< 6.7.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-14T12:51:14.447436Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-30171","exploited":false,"provenance":"source"}}