जमा करें #838560: yashpokharna2555 restaurent-management-system 1 Cross Site Scriptingजानकारी

शीर्षकyashpokharna2555 restaurent-management-system 1 Cross Site Scripting
विवरणA vulnerability has been found in yashpokharna2555 restaurent-management-system. The application stores user-controlled `username` values during registration and later propagates that value into the session and outputs it in `index.php` without HTML encoding. Specifically, `login_register.php` inserts the attacker-controlled username into the database, the login logic assigns the username to `$_SESSION['username']`, and `index.php` prints the session value directly into the HTML response. This results in stored cross-site scripting and allows arbitrary JavaScript execution in the victim browser when the affected page is viewed.
स्रोत⚠️ https://github.com/yashpokharna2555/restaurent-management-system/issues/4
उपयोगकर्ता
 wr0ld (UID 98487)
सबमिशन27/05/2026 10:33 AM (4 महीनों पहले)
संयम27/06/2026 08:10 PM (1 month later)
स्थितिस्वीकृत
VulDB प्रविष्टि374494 [yashpokharna2555 restaurent-management-system Registration login_register.php username क्रॉस साइट स्क्रिप्टिंग]
अंक20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!