CVE-2026-85399

code-projects Hospital Information System PrespController.php getSinglePresp sql injection

Published Sep 4, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
Description
A security flaw has been discovered in code-projects Hospital Information System 1.0. Affected by this vulnerability is the function getSinglePresp of the file includes/presp/PrespController.php. Performing a manipulation of the argument ID results in sql injection. The attack can be initiated remotely. The exploit has been released to the public and may be used for attacks.

Analysis

AI-generated

Technical impact

A SQL injection flaw exists in the getSinglePresp function of the Hospital Information System’s PrespController.php file. By manipulating the ID argument, an attacker can inject arbitrary SQL statements into the query that retrieves a single prescription record. This weakness is classified as CWE-74 and CWE-89. The vulnerability allows an attacker to retrieve, modify, or delete sensitive prescription data, potentially exposing patient information and the underlying database.

Affected Systems

The vulnerability affects only code-projects Hospital Information System version 1.0. No other versions or products were listed in the advisory.

Risk and Exploitability

The CVSS score of 6.9 indicates a medium severity impact. The attacker must be able to send requests containing a crafted ID value. While no EPSS score is currently available and the issue is not listed in the CISA KEV catalog, the public release of an exploit suggests that remote attacks are feasible. The breach could lead to data disclosure or alteration of prescription records, impacting confidentiality and integrity of patient data.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the vendor’s patch or upgrade to a fixed release once it becomes available.
  • Refactor the code to use parameterized SQL queries or prepared statements for the ID input.
  • Enforce strict validation on the ID parameter, accepting only numeric values that conform to the expected format.

Generated by OpenCVE AI on September 4, 2026 at 03:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A security flaw has been discovered in code-projects Hospital Information System 1.0. Affected by this vulnerability is the function getSinglePresp of the file includes/presp/PrespController.php. Performing a manipulation of the argument ID results in sql injection. The attack can be initiated remotely. The exploit has been released to the public and may be used for attacks.
Title code-projects Hospital Information System PrespController.php getSinglePresp sql injection
First Time appeared Code-projects
Code-projects hospital Information System
Weaknesses CWE-74
CWE-89
CPEs cpe:2.3:a:code-projects:hospital_information_system:*:*:*:*:*:*:*:*
Vendors & Products Code-projects
Code-projects hospital Information System
References
Metrics cvssV2_0

{'score': 7.5, 'vector': 'AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 7.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P'}

Weaknesses
  • CWE-74

    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Sep 8, 2026, 2:33 PM
Reserved
Sep 3, 2026, 6:12 PM
Status
Deferred
Published
Sep 4, 2026, 3:17 AM
Modified
Sep 8, 2026, 3:18 PM