提交 #916046: SourceCodester Inventory Management System 1.0 Cross Site Scripting信息

标题SourceCodester Inventory Management System 1.0 Cross Site Scripting
描述A stored Cross-Site Scripting (XSS) vulnerability exists in Product Inventory Management System by SourceCodester. The Product Management module located at /api/products_handler.php does not sanitize or encode the Product_Name parameter before storing it in the database. When the product catalog is rendered at /products.php, the stored payload executes in the victim's browser. An authenticated attacker can inject a malicious payload such as <img src=x onerror=alert(document.cookie)> via an intercepted POST request, causing session cookie theft and account takeover for any user who visits the Product Management page.
来源⚠️ https://gist.github.com/fhewm98/95f2ce47c88e1f08151397c0320d2752
用户
 Mohammed Faheem (UID 100387)
提交2026-08-05 13時19分 (1 月前)
管理2026-09-13 07時14分 (1 month later)
状态已接受
VulDB条目403229 [SourceCodester Inventory Management System 1.0 Product Management products_handler.php Product_Name 跨网站脚本]
积分20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!