CVE-2026-127282 Details
Description
A vulnerability was determined in SourceCodester Smart Attendance System with QR Code Scanner 1.0. Affected by this vulnerability is an unknown functionality of the file reset_password.php. This manipulation of the argument Username causes cross site scripting. The attack is possible to be carried out remotely. The exploit has been publicly disclosed and may be utilized.
A cross-site scripting (XSS) vulnerability has been identified in SourceCodester Smart Attendance System with QR Code Scanner version 1.0. The issue arises in the reset_password.php file, where the application fails to properly sanitize the username input before embedding it in the response message. This flaw allows remote attackers to inject arbitrary HTML or JavaScript, which is then executed in the context of the user's browser.
The vulnerability can be addressed by properly encoding the username input using htmlspecialchars() before including it in the response message. Additionally, ensure that output is escaped at the point of rendering.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 13, 2026CISA-ADP
Assessed Nov 17, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/yuechuya/sourcecodester-vuln-reports/blob/main/reports/VULN-07-Reflected-XSS-ResetPassword.md | [email protected] | ExploitTechnical Analysis |
| https://vuldb.com/cve/CVE-2026-127282 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/1041018 | [email protected] | Permission Required |
| https://vuldb.com/vuln/436448 | [email protected] | Permission Required |
| https://vuldb.com/vuln/436448/cti | [email protected] | Content Wall |
| https://www.sourcecodester.com/ | [email protected] | Vendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| SourceCodester Smart Attendance System | 1.0 |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 17, 2026 | CVE Modified | CISA-ADP |
| Nov 13, 2026 | New CVE Received | [email protected] |
Volerion