CVE-2025-13201 Details
Description
A vulnerability was identified in code-projects Simple Cafe Ordering System 1.0. Affected by this issue is some unknown functionality of the file /login.php. Such manipulation of the argument Username leads to sql injection. The attack may be performed from remote. The exploit is publicly available and might be used.
A SQL injection vulnerability has been identified in Code-Projects Simple Cafe Ordering System version 1.0. The issue arises in the login.php file, where user input from the 'username' parameter is directly concatenated into SQL queries without proper validation or escaping. This vulnerability can be exploited remotely, allowing attackers to manipulate SQL commands and potentially bypass authentication or access sensitive data.
It is recommended to replace the deprecated mysql_* functions with modern alternatives like PDO or mysqli, and to use prepared statements with bound parameters to safely handle user input. Additionally, inputs should be validated and sanitized on the server side, following the principle of least privilege for database accounts, and implementing logging to detect and respond to suspicious query activities.
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 Nov 17, 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/shenxianyuguitian/cafeorder_vuln_SQL/blob/main/README.md | [email protected] | ExploitThird Party Advisory |
| https://vuldb.com/?ctiid.332499 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.332499 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.685619 | [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 |
|---|---|
| fabian simple cafe ordering system | 1.0 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 7, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Nov 19, 2025 | Initial Analysis | [email protected] |
| Nov 15, 2025 | New CVE Received | [email protected] |