---
title: Jericho's Cybersecurity Glossary | SQL Injection
description: SQL injection is a type of web application attack where an attacker inserts malicious SQL statements into an input field, allowing them to execute unauthorized queries, manipulate databases, and gain access to sensitive information.
image: //www.jerichosecurity.com/hubfs/assets/images/jericho-featured-image.jpg
---

[![Jericho Security logo](https://www.jerichosecurity.com/hubfs/assets/images/Jericho-Security.svg)](https://www.jerichosecurity.com/)

[![Jericho Security logo](https://www.jerichosecurity.com/hubfs/assets/images/Jericho-Security.svg)](https://www.jerichosecurity.com/)

- Why Jericho
  
  Why choose Jericho Security?
  
  See what sets Jericho Security apart from the rest.
  
  
  
  [About Us Our Mission](https://www.jerichosecurity.com/about) [Customers What customers say](https://www.jerichosecurity.com/customers)
- Plans 
    - Plans
    - [Lite](https://www.jerichosecurity.com/lite)
    - [Plus](https://www.jerichosecurity.com/plus)
    - [Premium](https://www.jerichosecurity.com/premium)
    - [Free Trial](https://www.jerichosecurity.com/7-day-free-trial)
- Solutions
  
  See how Jericho Security can help keep your team safe.
  
  We equip individuals with the knowledge and skills needed to identify, prevent, and respond to cyber threats.
  
  
  
  
  
  Platform
  
  
  
  [Cybersecurity Dashboard Manage Your Security](https://www.jerichosecurity.com/platform/cybersecurity-dashboard) [Phishing Simulator Train Your Employees](https://www.jerichosecurity.com/platform/phishing-simulator) [Performance Analytics Gain Key Insights](https://www.jerichosecurity.com/platform/employee-performance-analytics) [Customized Training Tailored to Your Organization](https://www.jerichosecurity.com/platform/training-content)
  
  
  
  
  
  Solutions
  
  
  
  [Cybersecurity Awareness Training Train Your Team](https://www.jerichosecurity.com/solutions/cybersecurity-awareness-training) [Anti-Phishing Training Protect Your Business](https://www.jerichosecurity.com/solutions/anti-phishing-training) [Enterprise Cybersecurity Training Defend Against Threats](https://www.jerichosecurity.com/solutions/enterprise-cybersecurity-training) [SMB Cybersecurity Training Empower Your Team](https://www.jerichosecurity.com/solutions/smb-cybersecurity-training)
  
  
  
  
  
  Industries
  
  
  
  [Retail Keep retail threats away](https://www.jerichosecurity.com/industries/retail) [E-Commerce Protect your E-Com Business](https://www.jerichosecurity.com/industries/e-commerce) [Technology Prevent sensitive breaches](https://www.jerichosecurity.com/industries/technology) [Financial Services Safeguard your assets](https://www.jerichosecurity.com/industries/financial-services) [Healthcare Secure sensitive information](https://www.jerichosecurity.com/industries/healthcare)
  
  [Manufacturing Keep your operation running](https://www.jerichosecurity.com/industries/manufacturing) [Energy Prevent the next breach](https://www.jerichosecurity.com/industries/energy) [Federal Government Prevent largescale attacks](https://www.jerichosecurity.com/industries/federal-government) [State & Local Government Protect local officials](https://www.jerichosecurity.com/industries/state-local-government) [Higher Education Keep staff & students safe](https://www.jerichosecurity.com/industries/higher-education)
- Resources
  
  Jericho Security resources hub.
  
  Find everything you need to defend against emerging Generative AI threats.
  
  
  
  
  
  [News Latest news headlines](https://www.jerichosecurity.com/resources/tag/news) [Literature White papers & solution briefs](https://www.jerichosecurity.com/resources/tag/white-papers-solution-briefs) [Case Studies Jericho success stories](https://www.jerichosecurity.com/resources/tag/case-study)
  
  
  
  
  
  [Events Upcoming security events](https://www.jerichosecurity.com/resources/tag/events) [Webinars Upcoming & On-Demand](https://www.jerichosecurity.com/resources/tag/webinars) [Podcast Leading CISO Discussions](https://www.jerichosecurity.com/ciso-diaries)
  
  
  
  
  
  [Community Spotlight To recognize and appreciate](https://www.jerichosecurity.com/resources/tag/community-spotlight) [Cybersecurity Glossary Cyber-Related Definitions](https://www.jerichosecurity.com/glossary) [Support Advice and Answers](https://support.jerichosecurity.com/)
  
  [View All Resources](https://www.jerichosecurity.com/resources)
- [Blog](https://www.jerichosecurity.com/blog)
- [Partners](https://www.jerichosecurity.com/partner)

- [Sign In](https://app.jerichosecurity.com/users/sign_in)
- [Free Trial](https://www.jerichosecurity.com/7-day-free-trial)

1. [← back to glossary](https://www.jerichosecurity.com/glossary)

# SQL Injection

#### *Definition:*

SQL injection is a type of web application attack where an attacker inserts malicious SQL statements into an input field, allowing them to execute unauthorized queries, manipulate databases, and gain access to sensitive information.

#### *Use Cases:*

- Used by attackers to steal data from databases, including usernames, passwords, and personal information.
- Employed in attacks against vulnerable websites or applications that fail to properly sanitize user input.

#### *Related Terms:*

- Injection Attack
- Web Application Firewall (WAF)
- Data Breach
- Input Validation

#### *Questions and Answers:*

- **How does an SQL injection attack work?**Attackers exploit vulnerabilities in web applications by inserting malicious SQL code into input fields, which is then executed by the server, allowing unauthorized access to the database.
- **What are the consequences of an SQL injection attack?**Consequences include data theft, database manipulation, and potentially full compromise of the affected system.
- **How can SQL injection attacks be prevented?**SQL injection attacks can be prevented by using input validation, parameterized queries, and web application firewalls to filter out malicious SQL code.

1. [← back to glossary](https://www.jerichosecurity.com/glossary)

[Sidebar](https://www.jerichosecurity.com/glossary/sql-injection#blog-sidebar)

Platform <https://www.jerichosecurity.com/glossary/sql-injection#collapseLanding>

- [Cybersecurity Dashboard](https://www.jerichosecurity.com/platform/cybersecurity-dashboard)
- [Phishing Simulator](https://www.jerichosecurity.com/platform/phishing-simulator)
- [Performance Analytics](https://www.jerichosecurity.com/platform/employee-performance-analytics)
- [Customized Training](https://www.jerichosecurity.com/platform/training-content)

Solutions <https://www.jerichosecurity.com/glossary/sql-injection#collapseLanding>

- [Anti-Phishing Training](https://www.jerichosecurity.com/solutions/anti-phishing-training)
- [SMB Cybersecurity Training](https://www.jerichosecurity.com/solutions/smb-cybersecurity-training)
- [Enterprise Cybersecurity Training](https://www.jerichosecurity.com/solutions/enterprise-cybersecurity-training)
- [Cybersecurity Awareness Training](https://www.jerichosecurity.com/solutions/cybersecurity-awareness-training)

Industries <https://www.jerichosecurity.com/glossary/sql-injection#collapseLanding>

- [Retail](https://www.jerichosecurity.com/industries/retail)
- [E-Commerce](https://www.jerichosecurity.com/industries/e-commerce)
- [Technology](https://www.jerichosecurity.com/industries/technology)
- [Financial Services](https://www.jerichosecurity.com/industries/financial-services)
- [Healthcare](https://www.jerichosecurity.com/industries/healthcare)
- [Manufacturing](https://www.jerichosecurity.com/industries/manufacturing)
- [Energy](https://www.jerichosecurity.com/industries/energy)
- [Federal Government](https://www.jerichosecurity.com/industries/federal-government)
- [State & Local Government](https://www.jerichosecurity.com/industries/state-local-government)
- [Higher Education](https://www.jerichosecurity.com/industries/higher-education)

Resources <https://www.jerichosecurity.com/glossary/sql-injection#collapseLanding>

- [Cybersecurity Glossary](https://www.jerichosecurity.com/glossary)
- [Support](https://support.jerichosecurity.com/)
- [Blog](https://www.jerichosecurity.com/blog)
- [News](https://www.jerichosecurity.com/resources/tag/news)
- [Literature](https://www.jerichosecurity.com/resources/tag/white-papers-solution-briefs)
- [Case Studies](https://www.jerichosecurity.com/resources/tag/case-study)
- [Events](https://www.jerichosecurity.com/resources/tag/events)
- [Webinars](https://www.jerichosecurity.com/resources/tag/webinars)
- [Community Spotlight](https://www.jerichosecurity.com/resources/tag/community-spotlight)

Company <https://www.jerichosecurity.com/glossary/sql-injection#collapseLanding>

- [About Us](https://www.jerichosecurity.com/about)
- [Customers](https://www.jerichosecurity.com/customers)
- [Partners](https://www.jerichosecurity.com/partner)
- [Careers](https://jericho-security.breezy.hr/)
- [Sign In](https://app.jerichosecurity.com/users/sign_in)
- [Get a Demo](https://www.jerichosecurity.com/demo)
- [Privacy Policy](https://www.jerichosecurity.com/privacy-policy)
- [Terms of Service](https://www.jerichosecurity.com/terms-of-service)

[![Jericho Security footer logo](https://www.jerichosecurity.com/hubfs/assets/images/bootstrap/jericho-logo.svg)](https://www.jerichosecurity.com/) 

AI-Powered Cyber Security Training for Employees.

![AICPA SOC](https://www.jerichosecurity.com/hs-fs/hubfs/assets/images/bootstrap/AICPA-SOC-Logo.png?width=54&height=54&name=AICPA-SOC-Logo.png) ![SOC 2 TYPE 1](https://www.jerichosecurity.com/hs-fs/hubfs/assets/images/bootstrap/SOC-2-TYPE-1.png?width=54&height=54&name=SOC-2-TYPE-1.png) ![SOC 2 TYPE 2](https://www.jerichosecurity.com/hs-fs/hubfs/assets/images/bootstrap/SOC-2-TYPE-2.png?width=54&height=54&name=SOC-2-TYPE-2.png)

Toggle theme

- Light
- Dark
- Auto

 Copyright ©  Jericho Security, Inc.

```json
{
  "@context" : "https://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "Jericho Security Team",
    "url" : "http://www.jerichosecurity.com/glossary/author/jericho-security-team"
  },
  "dateModified" : "2024-09-29T14:21:53.543Z",
  "datePublished" : "2024-09-28T19:35:00.000Z",
  "headline" : "Jericho's Cybersecurity Glossary | SQL Injection",
  "image" : [ "//www.jerichosecurity.com/hubfs/assets/images/jericho-featured-image.jpg" ],
  "mainEntityOfPage" : {
    "@id" : "http://www.jerichosecurity.com/glossary/sql-injection",
    "@type" : "WebPage"
  },
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "url" : "//www.jerichosecurity.com/hubfs/assets/images/Jericho-Security.svg"
    },
    "name" : "Jericho Security"
  }
}
```