CVE-2026-10186: code-projects Online Hospital Management System patient.php sql injection

Published May 31, 2026
·
Updated

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.

Affected Software

1 affected component
Code-projects Online Hospital Management System=1.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Modify /patient.php so that the editid parameter is validated and sanitized (ensure it is an expected numeric ID or allowed value), and ensure all database access uses parameterized queries / prepared statements (or properly escaped and typed bindings) rather than directly concatenating editid into SQL.

    code-projects Online Hospital Management System /patient.php editid parameter handling = validate as integer; use parameterized queries / prepared statements; sanitize input
  2. Compensating control

    Deploy a Web Application Firewall (WAF) or application-layer filtering to block or sanitize malicious payloads targeting the editid parameter (and other input parameters). Add rules to detect and block SQL injection patterns and to restrict unexpected characters in editid.

  3. Compensating control

    Restrict access to the application and its management interfaces (e.g., via network ACLs, firewall rules, or VPN) to trusted IP addresses to reduce exposure while a code fix is applied.

  4. Compensating control

    Ensure the database account used by the application has least-privilege rights (only the required CRUD permissions on necessary objects) to limit the impact of potential SQL injection exploitation.

  5. Operational

    Review server and application logs for signs of exploitation of the editid parameter, investigate any suspicious activity, apply incident response as needed, and rotate any credentials that may have been exposed or could have been compromised.

Event History

May 31, 2026
CVE Published
via MITRE·02:00 PM
Data Sourced
via MITRE·02:00 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:16 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-10186?

The severity of CVE-2026-10186 is rated high with a score of 7.3.

2

What type of vulnerability is CVE-2026-10186?

CVE-2026-10186 is classified as an SQL Injection vulnerability.

3

How can CVE-2026-10186 be exploited?

CVE-2026-10186 can be exploited remotely by manipulating the 'editid' parameter in the /patient.php file.

4

What software is affected by CVE-2026-10186?

CVE-2026-10186 affects the Code-projects Online Hospital Management System version 1.0.

5

How do I fix CVE-2026-10186?

To fix CVE-2026-10186, sanitize and validate all input parameters to prevent SQL injection.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203