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

Source: https://junglewise.ai/threats/cve-2026-85398-code-projects-hospital-information-system-sql-injection-in  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-09-04. Updated: 2026-09-26  
License: CC BY 4.0 with a link back

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

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.

Technologies: [Code-Projects Hospital Information System](https://junglewise.ai/threats/technologies/hospital-information-system). Vendors: [Code-Projects](https://junglewise.ai/threats/vendors/code-projects).

## Quick answers

**Is CVE-2026-85398 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-85398 being exploited in the wild.

**How severe is CVE-2026-85398?** High severity, with a CVSS score of 7.3, published 4 September 2026.

**Which products and versions are affected?** Code-Projects Hospital Information System 1.0.

**Is there a fix for CVE-2026-85398?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-85398 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-2026-85398?** Check whether you run Code-Projects Hospital Information System at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## 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

- [https://code-projects.org/](https://code-projects.org/)
- [https://github.com/lccc-t/CVE/issues/3](https://github.com/lccc-t/CVE/issues/3)

## Related threats

- [code-projects Hospital Information System information disclosure via SQL backup](https://junglewise.ai/threats/cve-2026-86302-code-projects-hospital-information-system-information-disclosure)
- [code-projects Hospital Information System reflected XSS in patient ID parameter](https://junglewise.ai/threats/cve-2026-86301-code-projects-hospital-information-system-reflected-xss-in)
- [code-projects Hospital Information System SQL injection](https://junglewise.ai/threats/cve-2026-85399-code-projects-hospital-information-system-sql-injection)
- [code-projects Hospital Information System SQL injection](https://junglewise.ai/threats/cve-2026-85397-code-projects-hospital-information-system-sql-injection)
