CVE-2025-4197 Details
Description
A vulnerability classified as critical has been found in code-projects Patient Record Management System 1.0. Affected is an unknown function of the file /edit_xpatient.php. The manipulation of the argument lastname leads to sql injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. Other parameters might be affected as well.
A critical SQL injection vulnerability has been identified in Code-Projects Patient Record Management System version 1.0. The issue arises in an unknown function within the file edit_xpatient.php, where the lastname argument can be manipulated to execute unauthorized SQL commands. This vulnerability is exploitable remotely, and while the primary parameter of concern is lastname, other parameters may also be affected.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 2, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://code-projects.org/ | [email protected] | Product |
| https://github.com/zhxu147/CVE/blob/main/hcpms_edit_xpatient.php_sqli.pdf | [email protected] | ExploitThird Party Advisory |
| https://vuldb.com/?ctiid.306810 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.306810 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.561890 | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') | [email protected] |
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| code-projects patient record management system | 1.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 28, 2025 | Initial Analysis | [email protected] |
| May 2, 2025 | New CVE Received | [email protected] |