Weaknesses of type CWE-89

12,895 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-13161HIGHTrueBooker <= 1.2.2 - Unauthenticated SQL InjectionEPSS 0.8%CVE-2024-6027CRITICALThemify - WooCommerce Product Filter <= 1.4.9 - Unauthenticated SQL Injection via conditions ParameterEPSS 0.8%CVE-2024-26262HIGHEBM Technologies Uniweb/SoliPACS WebServer - SQL InjectionEPSS 0.8%CVE-2023-4219HIGHSourceCodester Doctors Appointment System login.php sql injectionEPSS 0.8%CVE-2024-3767MEDIUMPHPGurukul News Portal edit-post.php sql injectionEPSS 0.8%CVE-2022-41259MEDIUMSAP SQL Anywhere - version 17.0, allows an authenticated attacker to prevent legitimate users from accessing a SQL Anywhere database server EPSS 0.8%CVE-2024-24002CRITICALjshERP v3.3 is vulnerable to SQL Injection. The com.jsh.erp.controller.MaterialController: com.jsh.erp.utils.BaseResponseInfo getListWithStoEPSS 0.8%CVE-2021-32704HIGHImproper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in dhis2-coreEPSS 0.8%CVE-2022-45822CRITICALWordPress Advanced Booking Calendar Plugin <= 1.7.1 is vulnerable to SQL InjectionEPSS 0.8%CVE-2024-55978CRITICALWordPress Code Generator Pro plugin <= 1.2 - SQL Injection vulnerabilityEPSS 0.8%CVE-2024-40443MEDIUMSQL Injection vulnerability in Simple Laboratory Management System using PHP and MySQL v.1.0 allows a remote attacker to cause a denial of sEPSS 0.8%CVE-2016-15031HIGHPHP-Login POST Parameter class.loginscript.php checkLogin sql injectionEPSS 0.8%CVE-2026-67689CRITICALSQL Injection vulnerability in FineAdmin V1.0 allows a remote attacker to execute arbitrary code via the `field` and `order` parameters in pEPSS 0.8%CVE-2022-36276CRITICALSQL injection vulnerability in TCMAN GIMEPSS 0.8%CVE-2026-51821CRITICALSQL Injection vulnerability in Shenzhou Shihan Video Conference System v.1.0 allows a remote attacker to execute arbitrary code via the /useEPSS 0.8%CVE-2026-52186CRITICALSQL Injection vulnerability in UTT nv518G nv518GV3v3.2.7-210919-161313 allows a remote attacker to execute arbitrary code via the gohead/subEPSS 0.8%CVE-2022-42122CRITICALA SQL injection vulnerability in the Friendly Url module in Liferay Portal 7.3.7, and Liferay DXP 7.3 fix pack 2 through update 4 allows attEPSS 0.8%CVE-2023-1986MEDIUMSourceCodester Online Computer and Laptop Store delete_order sql injectionEPSS 0.8%CVE-2023-1987MEDIUMSourceCodester Online Computer and Laptop Store update_order_status sql injectionEPSS 0.8%CVE-2026-65321CRITICALPyAthena SQL Injection via DefaultParameterFormatter DELETE/CTASEPSS 0.8%