Weaknesses of type CWE-89

12,948 results

Injeção SQL

Ocorre quando entrada do usuário é concatenada diretamente em comandos SQL sem validação ou sanitização, permitindo que um atacante insira código SQL malicioso. O aplicativo executa a consulta alterada, comprometendo confidencialidade, integridade e disponibilidade dos dados.

Example

Um formulário de login que monta a query assim: `SELECT * FROM users WHERE email = '" + emailDoFormulario + "'`. Se o usuário digitar `admin'--`, a query vira `SELECT * FROM users WHERE email = 'admin'--'` e bypassa a validação de senha, autenticando como admin.

How to mitigate

Use prepared statements ou stored procedures com parâmetros vinculados (bind parameters). Em Java use PreparedStatement; em Python use placeholders com psycopg2 ou SQLAlchemy; em qualquer linguagem evite concatenação de strings. Combine com validação de entrada e princípio do menor privilégio no banco de dados.

CVE-2024-9460MEDIUMCodezips Online Shopping Portal index.php sql injectionEPSS 0.7%CVE-2024-2804CRITICALNetwork Summary <= 2.0.11 - Unauthenticated SQL InjectionEPSS 0.7%CVE-2021-38239HIGHSQL Injection vulnerability in dataease before 1.2.0, allows attackers to gain sensitive information via the orders parameter to /api/sys_msEPSS 0.7%CVE-2024-2073MEDIUMSourceCodester Block Inserter for Dynamic Content view_post.php sql injectionEPSS 0.7%CVE-2023-5787HIGHShaanxi Chanming Education Technology Score Query System sql injectionEPSS 0.7%CVE-2024-36039MEDIUMPyMySQL through 1.1.0 allows SQL injection if used with untrusted JSON input because keys are not escaped by escape_dict.EPSS 0.7%CVE-2025-59389HIGHHyper Data ProtectorEPSS 0.7%CVE-2015-10084MEDIUMirontec klear-library BaseController.php _prepareWhere sql injectionEPSS 0.7%CVE-2021-4301MEDIUMslackero phpwcms sql injectionEPSS 0.7%CVE-2020-3378MEDIUMCisco SD-WAN vManage Software SQL Injection VulnerabilityEPSS 0.7%CVE-2024-11589MEDIUMitsourcecode Tailoring Management System expcatedit.php sql injectionEPSS 0.7%CVE-2025-32857HIGHA vulnerability has been identified in TeleControl Server Basic (All versions < V3.1.2.2). The affected application is vulnerable to SQL injEPSS 0.7%CVE-2026-47296HIGHMicrosoft SQL Server Elevation of Privilege VulnerabilityEPSS 0.7%CVE-2023-39980HIGHMXsecurity Authenticated Information Disclosure Due to SQL InjectionEPSS 0.7%CVE-2023-25960CRITICALWordPress Zendrop – Global Dropshipping Plugin <= 1.0.0 is vulnerable to SQL InjectionEPSS 0.7%CVE-2023-25800HIGHWordPress Tutor LMS Plugin <= 2.2.0 is vulnerable to SQL InjectionEPSS 0.7%CVE-2024-25217HIGHOnline Medicine Ordering System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /omos/?p=products/view_EPSS 0.7%CVE-2024-7279MEDIUMSourceCodester Lot Reservation Management System sql injectionEPSS 0.7%CVE-2024-47484HIGHDell Avamar, versions prior to 19.12 with patch 338905, excluding 19.10 and 19.10SP1 with patch 338869, contains an Improper Neutralization EPSS 0.7%CVE-2024-2941MEDIUMCampcodes Online Examination System loginExe.php sql injectionEPSS 0.7%