Junglewise Threat Intelligence

CVE-2026-85398: code-projects Hospital Information System SQL injection in ReqController

CVE-2026-85398 · Severity: high · CVSS 7.3 · Published 2026-09-04

Technologies: Code-Projects Hospital Information System. Vendors: Code-Projects.

Executive brief

Hospital Information System is an open-source PHP-based healthcare management application used to track patient requests and medical information. A SQL injection vulnerability in the request handling component allows unauthenticated attackers to manipulate database queries through the ID parameter, potentially exposing sensitive patient data, modifying medical records, or disrupting system availability.

Technical details

A SQL injection vulnerability exists in the ReqController.php file (viewReq function) of Hospital Information System 1.0 due to unsanitized use of the 'id' parameter in SQL queries. The vulnerable code concatenates user-supplied input directly into database queries without prepared statements or parameterized binding. An attacker can exploit this via network-based GET requests without authentication to inject malicious SQL payloads (boolean-based blind, error-based, or time-based blind techniques). Successful exploitation grants unauthorized database access, enabling data exfiltration, modification, or deletion. The vulnerability can be remediated by implementing prepared statements, input validation, and enforcing principle-of-least-privilege for database credentials.

Affected products

  • code-projects Hospital Information System 1.0

Timeline

  • 2026-09-04: disclosed
  • 2026-09-04: advisory

References

Related threats