Hexret

Web Security · Injection

SQL Injection

Also known as: SQLi

User input concatenated into a database query changes the query's meaning: a value such as ' OR 1=1-- can bypass a filter, read other rows or write data. The fix is parameterized queries, so input is always data and never SQL, with least-privilege database accounts as a second layer.

Where you practice it

Related terms