Weaknesses of type CWE-89

11,907 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-2025-70821CRITICALrenren-secuity before v5.5.0 is vulnerable to SQL Injection in the BaseServiceImpl.java componentEPSS 0.4%CVE-2024-8997CRITICALSQLi in Vestel's EVC04 Configuration InterfaceEPSS 0.4%CVE-2025-22928CRITICALOS4ED openSIS v7.0 to v9.1 was discovered to contain a SQL injection vulnerability via the cp_id parameter at /modules/messages/Inbox.php.EPSS 0.4%CVE-2025-65235CRITICALOpenCode Systems USSD Gateway OC Release: 5 Version 6.13.11 was discovered to contain a SQL injection vulnerability via the ID parameter in EPSS 0.4%CVE-2024-10841MEDIUMromadebrian WEB-Sekolah Mail Proses_Kirim.php sql injectionEPSS 0.4%CVE-2024-6969MEDIUMSourceCodester Clinics Patient Management System get_patient_history.php sql injectionEPSS 0.4%CVE-2024-11487MEDIUMCode4Berry Decoration Management System Between Dates Reports btndates_report.php sql injectionEPSS 0.4%CVE-2024-13035MEDIUMcode-projects Chat System update_user.php sql injectionEPSS 0.4%CVE-2025-2831MEDIUMmingyuefusu 明月复苏 tushuguanlixitong 图书管理系统 bookList getBookList sql injectionEPSS 0.4%CVE-2025-9172HIGHVibes <= 2.2.0 - Unauthenticated SQL Injection via `resource` ParameterEPSS 0.4%CVE-2025-57149MEDIUMphpgurukul Complaint Management System 2.0 is vulnerable to SQL Injection in /complaint-details.php via the cid parameter.EPSS 0.4%CVE-2024-49246CRITICALWordPress Ajax Rating with Custom Login plugin <= 1.1 - SQL Injection vulnerabilityEPSS 0.4%CVE-2024-53923CRITICALAn issue was discovered in Centreon Web 24.10.x before 24.10.3, 24.04.x before 24.04.9, 23.10.x before 23.10.19, 23.04.x before 23.04.24. A EPSS 0.4%CVE-2023-26440HIGHThe cacheservice API could be abused to indirectly inject parameters with SQL syntax which was insufficiently sanitized and would later be eEPSS 0.4%CVE-2024-13084MEDIUMPHPGurukul Land Record System search-property.php sql injectionEPSS 0.4%CVE-2024-0851CRITICALSQLi in Grup Arge Energy and Control Systems's SmartpowerEPSS 0.4%CVE-2025-9073HIGHAll in one Minifier <= 3.2 - Unauthenticated SQL InjectionEPSS 0.4%CVE-2019-25668HIGHNews Website Script 2.0.5 SQL Injection via index.phpEPSS 0.4%CVE-2024-4903MEDIUMTongda OA delete.php sql injectionEPSS 0.4%CVE-2024-8303MEDIUMdingfanzu CMS getBasicInfo.php sql injectionEPSS 0.4%