SQL_Injection issue exists @ website/cart/action.php in branch master
Method <?php at line 1 of website\cart\action.php gets user input from the _POST element. This element’s value then flows through the code without being properly sanitized or validated, and is eventually used in a database query in method add_coupon at line 12 of website\include\cart.php. This may enable an SQL Injection attack.
SQL_Injection issue exists @ website/cart/action.php in branch master
Method <?php at line 1 of website\cart\action.php gets user input from the _POST element. This element’s value then flows through the code without being properly sanitized or validated, and is eventually used in a database query in method add_coupon at line 12 of website\include\cart.php. This may enable an SQL Injection attack.
Severity: High
CWE:89
Vulnerability details and guidance
Checkmarx
Lines: 71 104 31
Code (Line #71):
Code (Line #104):
Code (Line #31):