CVE-2026-10186 Details
Description
A security vulnerability has been detected in code-projects Online Hospital Management System 1.0. Affected by this vulnerability is an unknown functionality of the file /patient.php. Such manipulation of the argument editid leads to sql injection. The attack can be executed remotely. The exploit has been disclosed publicly and may be used.
A SQL injection vulnerability has been identified in the Online Hospital Management System version 1.0. The issue resides in the patient.php file, where the editid parameter is manipulated, allowing for SQL injection. This vulnerability can be exploited remotely by unauthenticated users, as the file does not implement any authentication checks before processing the editid parameter. Exploitation of this vulnerability could lead to unauthorized access and manipulation of patient records, bypassing authentication, or extraction of sensitive database information, including admin credentials.
To address this vulnerability, use prepared statements for all SQL queries that involve user input, add authentication and authorization checks before performing sensitive operations, validate resource ownership, change HTTP methods for state-changing operations to POST, and disable detailed error reporting in production environments.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 31, 2026CISA-ADP
Assessed Jun 1, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://code-projects.org/ | [email protected] | Not Applicable |
| https://github.com/aiyuyuyu/cve/blob/main/patient_sql.md | [email protected] | ExploitTechnical Analysis |
| https://vuldb.com/cve/CVE-2026-10186 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/819933 | [email protected] | Issue TrackingPermission Required |
| https://vuldb.com/vuln/367467 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/vuln/367467/cti | [email protected] | Content Wall |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') | [email protected] |
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| code-projects Online Hospital Management System | 1.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 22, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 31, 2026 | New CVE Received | [email protected] |
Volerion