提交 #1005404: GitHub Books4Cash 1.0 Cross Site Scripting信息

标题GitHub Books4Cash 1.0 Cross Site Scripting
描述VULNERABILITY DESCRIPTION: A Cross-Site Scripting (XSS) vulnerability was discovered in the dext34-morgan/Books4Cash version 1.0. The application fails to properly sanitize or neutralize user-supplied input before rendering it back onto the webpage. An attacker can exploit this weakness by injecting a malicious script into the vulnerable input field search located within the `search.php` script. This allows the execution of arbitrary JavaScript code in the context of an unsuspecting user's browser session whenever they view the affected account profile page. PROOF OF CONCEPT (PoC) / REPRODUCTION STEPS: 1. Setup the repository. git clone https://github.com/dext34-morgan/Books4Cash 2. Start the php webserver, php -S localhost:8000 3. Navigate to http://localhost:8000/search.php 4. The `search` parameter is vulnerable to XSS, http://localhost:8000/search.php?search=""><script>alert(document.cookie)</script>">
用户
 jinay-kothari (UID 101782)
提交2026-09-29 16時52分 (18 日前)
管理2026-10-17 11時55分 (18 days later)
状态已接受
VulDB条目421589 [dext34-morgan Books4Cash 直到 a8d3e357db75c07ac5ffbadcbaee2aeb4db3e571 search.php search 跨网站脚本]
积分17

Want to stay up to date on a daily basis?

Enable the mail alert feature now!