提交 #891607: SourceCodester Queue Management System Unknown (code version as of 2025-10-22) Cross-Site Scripting (XSS) - CWE-79信息

标题SourceCodester Queue Management System Unknown (code version as of 2025-10-22) Cross-Site Scripting (XSS) - CWE-79
描述The Queue Management System allows unauthenticated attackers to inject arbitrary JavaScript code via the "name" parameter in the /api/add_customer.php endpoint. The input is stored in the database without sanitization and later rendered unsafely in the administrative dashboard (index.php) using innerHTML, leading to stored XSS. An attacker can exploit this by sending a POST request with a malicious payload (e.g., <img src=x onerror=alert('XSS')>) in the name field. When an administrator views the queue list, the script executes in their browser, potentially allowing session hijacking, data theft, or unauthorized actions.Please refer to the "Stored Cross-Site Scripting (XSS) in Queue Management System.pdf" file on the GitHub address. The password for unzipping the report is: ABC123..
来源⚠️ https://github.com/Jack-MRJ/Queue-Management-System-Vulnerability-Report
用户
 GeekerA (UID 97423)
提交2026-07-15 08時41分 (2 月前)
管理2026-08-29 20時50分 (2 months later)
状态已接受
VulDB条目397070 [SourceCodester Queue Management System 1.0 /api/add_customer.php 名称 跨网站脚本]
积分20

Do you need the next level of professionalism?

Upgrade your account now!