| 标题 | itsourcecode Online Hotel Management System v1.0 Storage XSS vulnerability |
|---|
| 描述 | A Storage XSS vulnerability was found in the "/admin/mod_amenities/controller.php" file of the "Online Hotel Management System" project. Root Cause Because /admin/mod_amenities/controller.php does not escape, clean or parameterize the POST request data submitted, when the attacker submits a malicious Payload in the name field (for example,"<img src=x onerror=alert(2)>"), the code does not block it and permanently stores it in the "amenities" table of the database. When “/admin/mod_amenities/controller.php” reads the malicious name data in the database, and original data to an HTML page as-is, the browser will <script>treat the HTML tag and execute its content. Immediate corrective actions are essential to safeguard system security and uphold data integrity. |
|---|
| 来源 | ⚠️ https://github.com/Hh-176/CVE/issues/5 |
|---|
| 用户 | Hh-176 (UID 98609) |
|---|
| 提交 | 2026-05-30 06時11分 (4 月前) |
|---|
| 管理 | 2026-06-28 18時02分 (29 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 374562 [itsourcecode Online Hotel Management System 1.0 POST Request controller.php?action=add name 跨网站脚本] |
|---|
| 积分 | 20 |
|---|