Description
kishan0725 Hospital Management System 4.0 is vulnerable to SQL Injection in /hms/doctor/view-patient.php?viewid=1.
Published: 2026-07-29
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability resides in Hospital Management System 4.0, where the web page /hms/doctor/view-patient.php accepts an unsanitized viewid query parameter. An attacker can insert malicious SQL payloads that are executed on the backend database, enabling unauthorized data disclosure and modification. The weakness is a classic SQL Injection, identified as CWE‑89, and the high CVSS score of 9.8 reflects the severe impact on confidentiality, integrity, and availability.

Affected Systems

Hospital Management System 4.0 is the only product explicitly affected; no vendor or support information is provided beyond the product name.

Risk and Exploitability

With a CVSS score of 9.8, the vulnerability is considered critical. The EPSS score is less than 1 %, indicating a very low probability of exploitation in the wild at this time, and the issue is not listed in the CISA KEV catalog. Likely attackers can exploit the flaw remotely by crafting a request to view-patient.php with a malicious viewid value, assuming they can reach the target web server and the database credentials grant sufficient privileges to execute the injected statements.

Generated by OpenCVE AI on August 2, 2026 at 08:24 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Refactor the application to use parameterized queries or prepared statements for all database interactions involving user input, eliminating the unsanitized viewid parameter.
  • Restrict database access by enforcing the principle of least privilege; connect to the database using an account that has only the permissions required for read operations for this page.
  • Deploy a web application firewall or apply input validation rules to block suspicious viewid values that contain SQL injection patterns, such as multiple quotes or keywords like UNION, SELECT, or INSERT.

Generated by OpenCVE AI on August 2, 2026 at 08:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 02 Aug 2026 08:45:00 +0000

Type Values Removed Values Added
Title Hospital Management System 4.0 SQL Injection in view-patient.php

Thu, 30 Jul 2026 20:30:00 +0000

Type Values Removed Values Added
First Time appeared Campcodes
Campcodes hospital Management System
Vendors & Products Campcodes
Campcodes hospital Management System

Thu, 30 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-89
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

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


Wed, 29 Jul 2026 21:30:00 +0000

Type Values Removed Values Added
Description kishan0725 Hospital Management System 4.0 is vulnerable to SQL Injection in /hms/doctor/view-patient.php?viewid=1.
References

Subscriptions

Campcodes Hospital Management System
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-07-30T17:39:17.241Z

Reserved: 2026-01-09T00:00:00.000Z

Link: CVE-2025-69942

cve-icon Vulnrichment

Updated: 2026-07-30T16:04:29.335Z

cve-icon NVD

Status : Deferred

Published: 2026-07-29T22:16:51.750

Modified: 2026-07-30T19:17:00.953

Link: CVE-2025-69942

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-02T08:30:12Z

Weaknesses
  • CWE-89

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