CVE-2026-7506
SQL Injection in Hotel Management System 1.0
Publication date: 2026-04-30
Last updated on: 2026-04-30
Assigner: VulDB
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| sourcecodester | hotel_management_system | 1.0 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-74 | The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component. |
| CWE-89 | The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability exists in the SourceCodester Hotel Management System 1.0, specifically in the file /index.php/reservation/check. It involves manipulation of the argument room_type, which leads to a SQL injection vulnerability. This means an attacker can inject malicious SQL code through the room_type parameter.
The attack can be launched remotely, allowing unauthorized users to exploit the system without physical access.
How can this vulnerability impact me? :
Exploitation of this SQL injection vulnerability can lead to unauthorized access to the database, potentially allowing attackers to view, modify, or delete sensitive data.
Since the vulnerability can be exploited remotely without authentication, it increases the risk of data breaches, data loss, or corruption.
The CVSS scores indicate a moderate to high severity, reflecting the potential impact on confidentiality, integrity, and availability of the system.