| Título | code-projects Record_ManagementSystem 1.0 Cross Site Scripting |
|---|
| Descrição | 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. |
|---|
| Fonte | ⚠️ https://github.com/luciferllll/CVE/blob/main/Record_ManagementSystem%20PHP/Stored%20XSS.md |
|---|
| Utilizador | ddddlll (UID 100137) |
|---|
| Submissão | 17/08/2026 11h04 (há 30 dias) |
|---|
| Moderação | 15/09/2026 11h06 (29 days later) |
|---|
| Estado | Aceite |
|---|
| Entrada VulDB | 404085 [code-projects Record Management System 1.0 main/reg.php desc Script de Site Cruzado] |
|---|
| Pontos | 20 |
|---|