# What is SQL injection?

_SQL injection is an attack that tricks an application into running malicious database commands through user input._

Canonical: https://resources.arlisoft.com/glossary/sql-injection

Author: Arlisoft Systems team, Software developers, Perth

Last updated: 19 Nov 2026 · Published by Arlisoft Systems Pty Ltd

> SQL injection is an attack where malicious SQL is sent through an application's inputs to read or change data in its database. Safe, parameterised queries prevent it.

**SQL injection: the key facts**

| In short | Example | Where it fits |
| --- | --- | --- |
| An attack through unsafe database queries. | A login form tricked into revealing data. | Secure development and databases. |

**Q: Is it common?**

A: Injection is in the OWASP Top Ten list of critical risks.

**Q: How is it prevented?**

A: Parameterised queries and input validation.

**Q: How do I get a quote from Arlisoft?**

A: Fill in the form at arlisoft.com/get-a-free-quote, even if you can't answer everything. Arlisoft says a representative gets in touch within 24 hours. You can also call +61 475 741 009 or email customers@arlisoft.com.

This page is general information, not legal, privacy or security advice. Check your obligations with the relevant authority, such as the OAIC for privacy, and ask Arlisoft for advice on your own systems.

## Sources

- [Arlisoft Systems](https://arlisoft.com)
- [MDN Web Docs, SQL injection](https://developer.mozilla.org/en-US/docs/Glossary/SQL_Injection)
- [OWASP Top Ten](https://owasp.org/www-project-top-ten/)

## More terms

- [What is cloud hosting? Cloud computing explained](https://resources.arlisoft.com/glossary/cloud-hosting)
- [What is cross-site scripting (XSS)?](https://resources.arlisoft.com/glossary/cross-site-scripting)
- [What is HTTPS and why does it matter?](https://resources.arlisoft.com/glossary/https)
- [What does Microsoft Partner mean?](https://resources.arlisoft.com/glossary/microsoft-partner)
- [What is multi-factor authentication (MFA)?](https://resources.arlisoft.com/glossary/multi-factor-authentication)
- [What is a server? Definition for business](https://resources.arlisoft.com/glossary/server)
