| tiêu đề | code-projects Record_ManagementSystem 1.0 Cross Site Scripting |
|---|
| Mô tả | The "Add Transaction" form handler main/reg.php reads 8 POST parameters (date, doc_type, desc, office, status, dateo, rb, ft) and inserts them into the transaction table via a PDO prepared statement. Input
is not HTML-encoded or sanitized on the write path. The transaction list page main/index.php:116 then echoes the description column directly into an HTML <td> without any output encoding. As a result, a
payload such as <sCrIpT>alert(9999)</sCrIpT> submitted through the desc parameter is stored in the database and executes in every browser that opens the transaction list page.
All main/ routes perform no authentication checks, so both the injection point (reg.php) and the trigger page (index.php) are reachable by unauthenticated users. The description field (up to 1000
characters) can carry a full attack script. Impact includes session theft, page defacement, and phishing; no victim interaction (e.g., clicking a link) is required since the payload fires automatically on
page load. |
|---|
| Nguồn | ⚠️ https://github.com/luciferllll/CVE/blob/main/Record_ManagementSystem%20PHP/Stored%20XSS.md |
|---|
| Người dùng | ddddlll (UID 100137) |
|---|
| Đệ trình | 17/08/2026 11:04 (cách đây 29 ngày) |
|---|
| Kiểm duyệt | 15/09/2026 11:06 (29 days later) |
|---|
| Trạng thái | được chấp nhận |
|---|
| Mục VulDB | 404085 [code-projects Record Management System 1.0 main/reg.php desc Tập lệnh chéo trang] |
|---|
| điểm | 20 |
|---|