Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | While the CVSS score of 6.3 reflects medium severity with impacts to confidentiality, integrity, and availability, the real-world risk must be evaluated carefully. The CVSS vector shows PR:L (requires low-privilege authentication), AC:L (low attack complexity), and AV:N (network-accessible), meaning any authenticated user-including low-privileged staff in a healthcare system-can exploit this. The E:P notation (exploit proof-of-concept exists) and publicly available POC code on GitHub elevate practical exploitability. However, the absence of CISA KEV status suggests this has not been confirmed as actively exploited in the wild at scale. For healthcare organizations using this system, the risk is HIGH due to sensitivity of patient medical records and regulatory compliance implications (HIPAA, GDPR), even if the CVSS is medium. Organizations with internet-exposed instances and low authentication controls face significantly elevated risk. |
| Exploit ScenarioDerived | An authenticated healthcare staff member with low-privilege access (e.g., data entry clerk) navigates to the hematology printing module and manipulates the hem_id parameter in the URL from a normal value (e.g., /hematology_print.php?hem_id=123) to inject SQL code (e.g., /hematology_print.php?hem_id=123' OR '1'='1). The unsanitized parameter is concatenated directly into a SELECT, UPDATE, or DELETE query, allowing the attacker to extract all patient records, modify medical data, or escalate privileges within the application. Publicly available POC code documented on GitHub provides ready-made payloads, significantly lowering the barrier to exploitation. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 10, 2026
SQL injection in code-projects Patient Record Management System 1.0 allows authenticated remote attackers to execute arbitrary SQL commands via the hem_id parameter in /hematology_print.php, potentially leading to unauthorized data access, modification, or deletion. The vulnerability has a CVSS score of 6.3 (medium) with publicly available exploit code, though no CISA KEV confirmation indicates active widespread exploitation at time of analysis.
RemediationAI
Primary remediation requires upgrading to a patched version released by code-projects; however, no specific fixed version number is available in the current advisory data. Immediately contact code-projects.org or consult their security advisory for guidance on patched versions. As an interim workaround, implement input validation and parameterized queries (prepared statements) in /hematology_print.php to reject or escape the hem_id parameter. Additionally, restrict access to /hematology_print.php at the network level to trusted users only, implement Web Application Firewall (WAF) rules to detect SQL injection patterns, and enforce principle of least privilege for database accounts used by the application. Monitor database logs for suspicious SQL syntax and audit access to patient records.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability exists in the PHP-based Patient Record Management System as a classic SQL injection flaw (CWE-89) in the /hematology_print.php file. The hem_id parameter fails to properly sanitize or parameterize user input before incorporating it into SQL queries, allowing attackers to inject malicious SQL syntax. The affected product is identified via CPE as code-projects Patient Record Management System (cpe:2.3:a:code-projects:patient_record_management_system:*:*:*:*:*:*:*:*), indicating all versions appear vulnerable. The attack vector is network-based over HTTP/HTTPS, targeting a web application endpoint handling hematology report printing functionality.
Know when Patient Record Management System gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
4DescriptionCVE.org
A flaw has been found in code-projects Patient Record Management System 1.0. The affected element is an unknown function of the file /hematology_print.php. Executing a manipulation of the argument hem_id can lead to sql injection. It is possible to launch the attack remotely. The exploit has been published and may be used.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Related Vulnerabilities in code-projects Patient Record Management SQL Injection
View all 2A vulnerability was found in code-projects Patient Record Management System 1.0 and classified as critical. Rated medium
A vulnerability was found in code-projects Patient Record Management System 1.0 and classified as critical. Affected by
A vulnerability classified as critical was found in code-projects Patient Record Management System 1.0. Affected by this
SQL injection in CodeAstro Patient Record Management System 1.0 allows unauthenticated remote attackers to manipulate th
A vulnerability was found in code-projects Patient Record Management System 1.0. Rated medium severity (CVSS 5.3), this
A vulnerability was found in code-projects Patient Record Management System 1.0. Rated medium severity (CVSS 5.3), this
A vulnerability classified as critical has been found in code-projects Patient Record Management System 1.0. Rated mediu
A vulnerability was found in SourceCodester Patient Record Management System 1.0. Rated medium severity (CVSS 5.3), this
A vulnerability classified as critical has been found in code-projects Patient Record Management System 1.0. Rated mediu
A vulnerability classified as critical was found in code-projects Patient Record Management System 1.0. Rated medium sev
A vulnerability classified as critical has been found in code-projects Patient Record Management System 1.0. Rated mediu
A vulnerability was found in code-projects Patient Record Management System 1.0. Rated medium severity (CVSS 5.3), this
EUVD-2026-21295
GHSA-9qjr-82wx-8hcx
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB