
Reflected XSS in 1000projects Book Management System 1.0
Reflected XSS in 1000projects Book Management System 1.0
Reflected Cross-Site Scripting (XSS) in 1000projects Book Management System 1.0
A Reflected Cross-Site Scripting (XSS) vulnerability was discovered in 1000projects Book Management System version 1.0. The vulnerability exists in the search functionality (index.php), where user-supplied input via the search parameter is reflected in the HTTP response without proper sanitization or output encoding.
An attacker can craft a malicious URL containing JavaScript code. When a victim clicks the link, the script executes in the context of the victim's browser session, potentially leading to session hijacking, credential theft, or phishing attacks.
| Item | Detail |
|---|---|
| Vendor | 1000projects |
| Product | Book Management System |
| Version | 1.0 |
| Component | index.php (search functionality) |
| Technology | PHP / MySQL |
http://localhost/book-management/index.php?search="><script>alert('CVE-2023-34632')</script>
"><script>alert('CVE-2023-34632')</script>

">
"><svg/onload=alert('CVE-2023-34632')>
The search parameter value is directly embedded into the HTML response without any sanitization. The PHP code does not apply htmlspecialchars() or equivalent output encoding before rendering user input.
// Vulnerable - user input directly rendered in HTML output
$search = $_GET['search'];
echo "Search results for: " . $search;
Apply proper output encoding to all user-supplied input before rendering in HTML context:
// Fixed - proper output encoding
$search = htmlspecialchars($_GET['search'], ENT_QUOTES, 'UTF-8');
echo "Search results for: " . $search;
document.cookie| Date | Event |
|---|---|
| 2023-06 | Vulnerability discovered |
| 2023-06 | CVE-2023-34632 reserved by MITRE |
| 2026-02 | Public disclosure |
Discoverer: Wonkyeom Kim (@ssophiz)
| Item | Detail |
|---|
| CVE ID | CVE-2023-34632 |
| Type | CWE-79: Improper Neutralization of Input During Web Page Generation (Reflected XSS) |
| Attack Vector | Network |
| Attack Complexity | Low |
| Privileges Required | None |
| User Interaction | Required (victim clicks crafted URL) |
| CVSS 3.1 Score | 6.1 (Medium) |
| CVSS Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |