提交 #911140: Rizwan17 inventory-management-system bfe78a330d01bb26b9daec5dc9ecd5c77900e03f Cross Site Scripting信息

标题Rizwan17 inventory-management-system bfe78a330d01bb26b9daec5dc9ecd5c77900e03f Cross Site Scripting
描述The affected component is the login page `index.php`. The registration success flow redirects to `index.php?msg=...`, and the page echoes `$_GET["msg"]` into HTML without encoding: ```php if (isset($_GET["msg"]) AND !empty($_GET["msg"])) { ?> <div class="alert alert-success alert-dismissible fade show" role="alert"> <?php echo $_GET["msg"]; ?> ``` An unauthenticated attacker can craft a URL containing JavaScript in `msg` and trick a victim into opening it, executing script in the victim's browser under the application origin.
来源⚠️ https://github.com/Rizwan17/inventory-management-system/issues/11
用户
 cnluminous (UID 98136)
提交2026-07-30 18時19分 (1 月前)
管理2026-09-09 18時12分 (1 month later)
状态已接受
VulDB条目401813 [Rizwan17 inventory-management-system 直到 bfe78a330d01bb26b9daec5dc9ecd5c77900e03f Login Page index.php msg 跨网站脚本]
积分20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!