Enviar #53402: Canteen Management System (food.php) is vulnerable to a Cross-site scripting(Persistent)información

TítuloCanteen Management System (food.php) is vulnerable to a Cross-site scripting(Persistent)
Descripciónurl: youthappam/food.php payload: <script>alert(123)</script> Abstract: Line 68 of food.php sends unvalidated data to a web browser, which can result in the browser executing malicious code. Explanation: Cross-site scripting (XSS) vulnerabilities occur when: 1. Data enters a web application through an untrusted source. In the case of persistent (also known as stored) XSS, the untrusted source is typically a database or other back-end data store, while in the case of reflected XSS it is typically a web request. In this case, the data enters at query() in food.php at line 7. 2. The data is included in dynamic content that is sent to a web user without being validated. In this case, the data is sent at builtin_echo() in food.php at line 68. Download Code: https://www.sourcecodester.com/php/15688/canteen-management-system-project-source-code-php.html
Fuente⚠️ https://www.jianshu.com/p/e977cda45d3c?v=1669360616628
Usuario
 bulijojo (UID 36491)
Sumisión2022-11-25 08:17 (hace 4 años)
Moderación2022-11-25 08:20 (4 minutes later)
EstadoAceptado
Entrada de VulDB214359 [SourceCodester Canteen Management System food.php query product_name secuencias de comandos en sitios cruzados]
Puntos20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!