Submit #933811: code-projects Record_ManagementSystem 1.0 Cross Site Scriptinginfo

Titlecode-projects Record_ManagementSystem 1.0 Cross Site Scripting
DescriptionThe "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.
Source⚠️ https://github.com/luciferllll/CVE/blob/main/Record_ManagementSystem%20PHP/Stored%20XSS.md
User
 ddddlll (UID 100137)
Submission08/17/2026 11:04 (29 days ago)
Moderation09/15/2026 11:06 (29 days later)
StatusAccepted
VulDB entry404085 [code-projects Record Management System 1.0 main/reg.php desc cross site scripting]
Points20

Might our Artificial Intelligence support you?

Check our Alexa App!