Weaknesses of type CWE-89

11,911 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-10218MEDIUMlostvip-com ruoyi-go Background Management SysRoleDao.go SelectListPage sql injectionEPSS 0.3%CVE-2025-5590HIGHOwl carousel responsive <= 1.9 - Authenticated (Contributor+) SQL Injection via id ParameterEPSS 0.3%CVE-2025-6847MEDIUMcode-projects Simple Forum forum_edit.php sql injectionEPSS 0.3%CVE-2025-24773CRITICALWordPress WPCRM - CRM for Contact form CF7 & WooCommerce plugin <= 3.2.0 - SQL Injection VulnerabilityEPSS 0.3%CVE-2025-10692HIGHOpenSupports 4.11.0 — SQL InjectionEPSS 0.3%CVE-2026-39318HIGHChurchCRM has a DDL SQL Injection in GroupPropsFormRowOps.phpEPSS 0.3%CVE-2025-39479CRITICALWordPress Smart Notification Plugin <= 10.3 - SQL Injection vulnerabilityEPSS 0.3%CVE-2025-23967CRITICALWordPress GG Bought Together for WooCommerce plugin <= 1.0.2 - SQL Injection VulnerabilityEPSS 0.3%CVE-2025-14940MEDIUMcode-projects Scholars Tracking System delete_user.php sql injectionEPSS 0.3%CVE-2026-25936MEDIUMGLPI Vulnerable to Authenticated SQL InjectionEPSS 0.3%CVE-2025-14637MEDIUMitsourcecode Online Pet Shop Management System addcnp.php sql injectionEPSS 0.3%CVE-2025-14218MEDIUMcode-projects Currency Exchange System editotheraccount.php sql injectionEPSS 0.3%CVE-2025-14644MEDIUMitsourcecode Student Management System update_subject.php sql injectionEPSS 0.3%CVE-2025-14667MEDIUMitsourcecode COVID Tracking System page sql injectionEPSS 0.3%CVE-2025-14587MEDIUMitsourcecode Online Pet Shop Management System available.php sql injectionEPSS 0.3%CVE-2025-14210MEDIUMprojectworlds Advanced Library Management System delete_member.php sql injectionEPSS 0.3%CVE-2024-44903HIGHSQL Injection can occur in the SirsiDynix Horizon Information Portal (IPAC20) through 3.25_9382; however, a patch is available from the vendEPSS 0.3%CVE-2025-13210MEDIUMitsourcecode Inventory Management System index.php sql injectionEPSS 0.3%CVE-2025-14250MEDIUMcode-projects Online Ordering System user_contact.php sql injectionEPSS 0.3%CVE-2025-14664MEDIUMCampcodes Supplier Management System view_unit.php sql injectionEPSS 0.3%