| 标题 | POS Inventory System 1.0 Reflected Cross-Site Scripting (XSS) + SQL Injection |
|---|
| 描述 | A combined Reflected XSS and SQL Injection vulnerability was discovered in the search functionality of POS Inventory System Using PHP version 1.0.
SQL Injection: In search.php, the name parameter is directly interpolated into a LIKE SQL query without escaping. This allows an attacker to use UNION-based payloads to extract sensitive information from the database.
Reflected XSS: The application echoes database-sourced values (like product_name) directly into the HTML response without output encoding. In search_result.php, the id parameter is vulnerable to SQL injection, which can be used to reflect arbitrary JavaScript into the victim's browser. |
|---|
| 来源 | ⚠️ https://gist.github.com/c4ttr4ck/24c157c90227c3f5cd5e5d871449fed8 |
|---|
| 用户 | c4ttr4ck (UID 75518) |
|---|
| 提交 | 2026-04-26 23時35分 (1 月前) |
|---|
| 管理 | 2026-05-24 09時45分 (27 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 365428 [SourceCodester Simple POS and Inventory System 1.0 /user/search.php 名称 SQL注入] |
|---|
| 积分 | 20 |
|---|