Weaknesses of type CWE-89

12,071 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-2026-6628MEDIUMphili67 Ecclesia CRM Query Viewer view ValidateInput sql injectionEPSS 0.2%CVE-2026-7699MEDIUMDromara MaxKey StrUtils.java StrUtils.checkSqlInjection sql injectionEPSS 0.2%CVE-2026-6005MEDIUMcode-projects Patient Record Management System hematology_print.php sql injectionEPSS 0.2%CVE-2026-8231MEDIUMCodeAstro Online Catering Ordering System deleteorder.php sql injectionEPSS 0.2%CVE-2026-4836MEDIUMcode-projects Accounting System delete.php sql injectionEPSS 0.2%CVE-2026-6488MEDIUMQueryMine sms GET Request Parameter editcourse.php sql injectionEPSS 0.2%CVE-2026-5596MEDIUMgriptape-ai griptape SqlTool tool.py sql injectionEPSS 0.2%CVE-2026-7678MEDIUMYunaiV yudao-cloud GoViewDataServiceImpl.java getDataBySQL sql injectionEPSS 0.2%CVE-2026-6010MEDIUMCodeAstro Online Classroom takeassessment2.php sql injectionEPSS 0.2%CVE-2026-6006MEDIUMcode-projects Patient Record Management System edit_hpatient.php sql injectionEPSS 0.2%CVE-2025-68914MEDIUMRiello UPS NetMan 208 Application before 1.12 allows cgi-bin/login.cgi username SQL Injection. For example, an attacker can delete the LOGINEPSS 0.2%CVE-2026-54829HIGHWordPress WP Photo Album Plus plugin <= 9.1.13.005 - SQL Injection vulnerabilityEPSS 0.2%CVE-2025-63585MEDIUMOSSN (Open Source Social Network) 8.6 is vulnerable to SQL Injection in /action/rtcomments/status via the timestamp parameter.EPSS 0.2%CVE-2018-25257HIGHAdianti Framework 5.5.0 and 5.6.0 SQL Injection via ProfileEPSS 0.2%CVE-2018-25191HIGHFacturation System 1.0 SQL Injection via editar_producto.phpEPSS 0.2%CVE-2018-25180HIGHMaitra 1.7.2 SQL Injection and Database File DownloadEPSS 0.2%CVE-2026-50736CRITICALThe pglogical queue mechanism, used to convey out-of-band commands such as replicated DDL from a publisher to a subscriber, executes messageEPSS 0.2%CVE-2026-37592LOWSourcecodester Storage Unit Rental Management System v1.0 is vulnerable to SQL in the file /storage/admin/maintenance/manage_pricing.php.EPSS 0.2%CVE-2025-48701MEDIUMopenDCIM through 23.04 allows SQL injection in people_depts.php because prepared statements are not used.EPSS 0.2%CVE-2026-11453MEDIUMTiobon Employee Self-Service System Login Endpoint BlogSearch.aspx sql injectionEPSS 0.2%