Weaknesses of type CWE-89

13,306 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-0700MEDIUMJoeyBling bootplus list sql injectionEPSS 0.4%CVE-2025-47682CRITICALWordPress SMS Alert Order Notifications – WooCommerce plugin <= 3.8.1 - SQL Injection VulnerabilityEPSS 0.4%CVE-2025-62728MEDIUMApache Hive: SQL injection vulnerability when processing delete column statistics requests via the HMS Thrift APIsEPSS 0.4%CVE-2026-30534HIGHA SQL Injection vulnerability exists in SourceCodester Online Food Ordering System v1.0 in admin/manage_category.php via the "id" parameter.EPSS 0.4%CVE-2024-35630HIGHWordPress WP TripAdvisor Review Slider plugin <= 12.6 - SQL Injection vulnerabilityEPSS 0.4%CVE-2025-0701MEDIUMJoeyBling bootplus list sql injectionEPSS 0.4%CVE-2026-88890HIGHOpenPanel through 2.3.0 SQL Injection via unvalidated profile filter column identifierEPSS 0.4%CVE-2025-52044HIGHIn Frappe ERPNext v15.57.5, the function get_stock_balance() at erpnext/stock/utils.py is vulnerable to SQL Injection, which allows an attacEPSS 0.4%CVE-2025-28972HIGHWordPress WP Employee Attendance System plugin <= 3.5 - SQL Injection VulnerabilityEPSS 0.4%CVE-2024-44906MEDIUMuptrace pgdriver v1.2.1 was discovered to contain a SQL injection vulnerability via the appendArg function in /pgdriver/format.go. The maintEPSS 0.4%CVE-2026-108799MEDIUMjackq XCMS Password Recovery Mail Endpoint PublicController.class.php sendFindPwdMail sql injectionEPSS 0.4%CVE-2026-108900MEDIUMExponent CMS XML-RPC xmlrpc.php userLogin sql injectionEPSS 0.4%CVE-2024-29386MEDIUMprojeqtor up to 11.2.0 was discovered to contain a SQL injection vulnerability via the component /view/criticalResourceExport.php.EPSS 0.4%CVE-2025-5780MEDIUMcode-projects Patient Record Management System view_dental.php sql injectionEPSS 0.4%CVE-2025-41377HIGHSQL injection vulnerability in Gandia Integra TotalEPSS 0.4%CVE-2026-100314MEDIUMmathurvishal CloudClassroom-PHP-Project updatedetailsfromstudent.php sql injectionEPSS 0.4%CVE-2025-65336CRITICALEcommerce-project-with-php-and-mysqli-Fruits-Bazar 1.0 is vulnerable to SQL Injection in /show_price_by_pdtId.php.EPSS 0.4%CVE-2025-5627MEDIUMcode-projects Patient Record Management System sputum_form.php sql injectionEPSS 0.4%CVE-2026-100315MEDIUMmathurvishal CloudClassroom-PHP-Project mydetailsfaculty.php sql injectionEPSS 0.4%CVE-2025-5729MEDIUMcode-projects Health Center Patient Record Management System birthing_record.php sql injectionEPSS 0.4%