[php-src] Issue #24923: [SECURITY] BUG-098: Injection - SQL Injection - Unsafely Constructed Queries
| From: | Codeleafly | Date: | Wed, 28 Oct 2026 01:51:14 +0000 |
| Subject: | [php-src] Issue #24923: [SECURITY] BUG-098: Injection - SQL Injection - Unsafely Constructed Queries | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-253377@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/24923
Author: Codeleafly
## 🐛 Security Bug Report
**Bug ID:** BUG-098
**Category:** Injection
**Subcategory:** SQL Injection - Unsafely Constructed Queries
**Severity:** High
**CWE:** CWE-89
**CVSS Score:** 8.0
**File:**
ext/mysqli/mysqli.c
**Line:** multiple
**Status:** UNFIXED
**Verified:** False
### Description
Database extension may construct SQL queries from user input without proper parameterization. String
concatenation in queries enables SQL injection.
### Impact
Data breach, data modification, authentication bypass, remote code execution.
### Remediation
Use prepared statements with parameterized queries. Never concatenate user input into SQL strings.
### Exploitability
Remote via web application input
### Source
- Repository: https://github.com/php/php-src/
- Branch: master
- Analysis Date: 2026-10-27T16:38:37.937347Z
---
*Auto-generated from static security analysis of php-src.*
*Total bugs found: 161*