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.
Published: 2026-09-04
Score: 6.9 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Fri, 04 Sep 2026 02:45:00 +0000

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'}


Subscriptions

Code-projects Hospital Information System
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-09-04T02:30:09.384Z

Reserved: 2026-09-03T18:12:37.535Z

Link: CVE-2026-85399

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-04T03:17:46.500

Modified: 2026-09-04T03:17:46.500

Link: CVE-2026-85399

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-04T03:30:13Z

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')