SourceCodester File Tracker Manager System borrow1.php cross site scripting
Description
A vulnerability, which was classified as problematic, was found in SourceCodester File Tracker Manager System 1.0. This affects an unknown part of the file normal/borrow1.php. The manipulation of the argument id with the input 1"> leads to cross site scripting. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used. The associated identifier of this vulnerability is VDB-222663.
Affected products
1- Range: 1.0
Patches
0No patches discovered yet.
Vulnerability mechanics
Root cause
"Missing output sanitization of the `id` parameter in `borrow1.php` allows reflected cross-site scripting."
Attack vector
An attacker sends a crafted GET request to `/file_manager/normal/borrow1.php` with a malicious `id` parameter containing a script payload, such as `1"><script>alert(1111)</script>` [ref_id=1]. The server reflects this input directly into the HTTP response without sanitization, causing the browser to execute the injected script. The attack is remotely exploitable over HTTP with no authentication required beyond a valid session cookie [ref_id=1].
Affected code
The vulnerability is in the file `/file_manager/normal/borrow1.php` [ref_id=1]. The `id` parameter is echoed back into the page without sanitization, allowing arbitrary HTML and JavaScript injection [ref_id=1].
What the fix does
No patch is provided in the bundle. The advisory does not include a fix. To remediate, the application should properly encode or sanitize the `id` parameter before reflecting it in the HTML output, for example by using `htmlspecialchars()` in PHP or an equivalent output-escaping function.
Preconditions
- networkThe attacker must be able to send HTTP GET requests to the vulnerable endpoint
- authA valid PHP session cookie (PHPSESSID) is required
Reproduction
1. Send a GET request to `/file_manager/normal/borrow1.php?id=1%22%3E%3Cscript%3Ealert(1111)%3C/script%3E` with a valid `PHPSESSID` cookie [ref_id=1]. 2. Observe that the browser executes the injected JavaScript, displaying an alert box with "1111" [ref_id=1]. 3. To demonstrate cookie theft, replace the payload with `1"><script>alert(document.cookie)</script>` [ref_id=1].
Generated on May 24, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
3- github.com/godownio/bug_report/blob/main/vendors/hemedy99/File%20Tracker%20Manager%20System/XSS-1.mdmitreexploit
- vuldb.commitresignaturepermissions-required
- vuldb.commitrevdb-entrytechnical-description
News mentions
0No linked articles in our index yet.