| शीर्षक | 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) |
|---|
| सबमिशन | 30/07/2026 06:19 PM (1 महीना पहले) |
|---|
| संयम | 09/09/2026 06:12 PM (1 month later) |
|---|
| स्थिति | स्वीकृत |
|---|
| VulDB प्रविष्टि | 401813 [Rizwan17 inventory-management-system तक bfe78a330d01bb26b9daec5dc9ecd5c77900e03f Login Page index.php msg क्रॉस साइट स्क्रिप्टिंग] |
|---|
| अंक | 20 |
|---|