| 标题 | code-projects Record_ManagementSystem 1.0 Cross Site Scripting |
|---|
| 描述 | 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. |
|---|
| 来源 | ⚠️ https://github.com/luciferllll/CVE/blob/main/Record_ManagementSystem%20PHP/Stored%20XSS.md |
|---|
| 用户 | ddddlll (UID 100137) |
|---|
| 提交 | 2026-08-17 11時04分 (30 日前) |
|---|
| 管理 | 2026-09-15 11時06分 (29 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 404085 [code-projects Record Management System 1.0 main/reg.php desc 跨网站脚本] |
|---|
| 积分 | 20 |
|---|