The vulnerability is a classic SQL injection flaw in the litemall-wx-api component. The root cause is the lack of input validation on the sort and order parameters for the /wx/goods/list API endpoint. An attacker can provide a malicious SQL payload in the sort parameter. This tainted input is passed from the WxGoodsController.list method down to the LitemallGoodsService.querySelective method. In the service layer, the input is directly concatenated to form an SQL ORDER BY clause, which is then executed by the database. This allows an unauthenticated or low-privileged user to execute arbitrary SQL commands, potentially leading to data exfiltration, including sensitive information like admin password hashes. The provided PoC demonstrates how to extract data using error-based SQL injection. The vulnerability is critical because it exists in a public-facing, front-end API and does not require administrative privileges to exploit.