Multiple SQL injection vulnerabilities in includes/classes/shopping_cart.php in Zen Cart 1.2.0 through 1.3.8a, when magic_quotes_gpc is disabled, allow remote attackers to execute arbitrary SQL commands via the id parameter when (1) adding or (2) updating the shopping cart.
https://exchange.xforce.ibmcloud.com/vulnerabilities/44917
http://www.securityfocus.com/bid/31023
http://www.securityfocus.com/archive/1/496032/100/100/threaded
http://www.securityfocus.com/archive/1/496002/100/0/threaded