Skip to content
Sharp

OWASP Vulnerabilities · interview question

How would you explain a potential consequence of not using prepared statements in SQL queries in an interview?

Multiple choiceMediumchapter-17-curatedpremiumowasp-vulnerabilitiessql-injection
Choose one answer
Answer and explanation

Correct answer

D. Increased risk of SQL Injection

Why

Not using prepared statements increases the risk of SQL Injection, as user inputs can be manipulated to alter the query structure, executing unintended operations on the database.

Test yourself on OWASP Vulnerabilities

A free test with instant, explained results. No account needed.

Start free test
All OWASP Vulnerabilities questions →