Weaknesses of type CWE-89

12,012 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-39319HIGHChurchCRM has a Second Order SQLI via FundRaiserEditor.phpEPSS 0.2%CVE-2026-37505MEDIUMSQL Injection via ORDER BY clause in V2Board thru 1.7.4. In app/Http/Controllers/Admin/UserController.php, the sort parameter from user inpuEPSS 0.2%CVE-2026-36938LOWSourcecodester Online Resort Management System v1.0 is vulnerable to SQL injection in /orms/admin/rooms/view_room.php.EPSS 0.2%CVE-2026-10170MEDIUMcode-projects Visitor Management System phone_0.php sql injectionEPSS 0.2%CVE-2026-4815HIGHSQL Injection vulnerability in Support BoardEPSS 0.2%CVE-2026-6428MEDIUMSQL Injection in reports/catalogue_out.pl in Koha Community Koha through 22.11.37, 23.x, 24.x before 24.11.16, 25.05.x before 25.05.11, 25.1EPSS 0.2%CVE-2026-39330HIGHChurchCRM has a Blind SQL injection in PropertyAssign.phpEPSS 0.2%CVE-2025-51972MEDIUMA SQL Injection vulnerability exists in the login.php of PuneethReddyHC Online Shopping System Advanced 1.0 due to improper sanitization of EPSS 0.2%CVE-2026-49741HIGHTYPO3 CMS - Privilege Escalation & SQL Injection in Form FrameworkEPSS 0.2%CVE-2026-7394MEDIUMSourceCodester Pizzafy Ecommerce System GET Parameter view_order.php sql injectionEPSS 0.2%CVE-2025-51968MEDIUMA SQL Injection vulnerability exists in the action.php file of PuneethReddyHC Online Shopping System Advanced 1.0. The application fails to EPSS 0.2%CVE-2026-39327HIGHChurchCRM has a SQL injection in MemberRoleChange.phpEPSS 0.2%CVE-2025-52048MEDIUMIn Frappe 15.x.x before 15.72.0 and 14.x.x before 14.96.10, in the function add_tag() at `frappe/desk/doctype/tag/tag.py` is vulnerable to SEPSS 0.2%CVE-2025-51969MEDIUMA SQL Injection vulnerability exists in the product.php page of PuneethReddyHC Online Shopping System Advanced 1.0. This flaw is present in EPSS 0.2%CVE-2025-60110HIGHWordPress AllInOne - Banner Rotator Plugin <= 3.8 - SQL Injection VulnerabilityEPSS 0.2%CVE-2026-2176MEDIUMcode-projects Contact Management System index.py sql injectionEPSS 0.2%CVE-2025-52043MEDIUMIn Frappe ERPNext v15.57.5, the function import_coa() at erpnext/accounts/doctype/chart_of_accounts_importer/chart_of_accounts_importer.py iEPSS 0.2%CVE-2025-56075MEDIUMA SQL Injection vulnerability was discovered in the normal-bwdates-reports-details.php file of PHPGurukul Park Ticketing Management System vEPSS 0.2%CVE-2026-52715CRITICALWordPress GEO my WordPress plugin <= 4.5.5 - SQL Injection vulnerabilityEPSS 0.2%CVE-2025-58881HIGHWordPress New Simple Gallery Plugin <= 8.0 - SQL Injection VulnerabilityEPSS 0.2%