CVE-2026-0730 Details
Description
A flaw has been found in PHPGurukul Staff Leave Management System 1.0. The affected element is the function ADD_STAFF/UPDATE_STAFF of the file /staffleave/slms/slms/adminviews.py of the component SVG File Handler. Executing a manipulation of the argument profile_pic can lead to cross site scripting. The attack can be executed remotely. The exploit has been published and may be used.
A stored cross-site scripting vulnerability has been identified in PHPGurukul Staff Leave Management System version 1.0. The issue arises from unrestricted file uploads in the profile picture feature, specifically within the adminviews.py file. The application allows authenticated administrators to upload malicious SVG files containing JavaScript, which is executed when the files are viewed in the browser. This vulnerability is present in both the staff creation and profile update functionalities.
It is recommended to implement file type restrictions, validate file contents, sanitize SVG files if necessary, serve uploaded files safely, and apply a content security policy to mitigate the risk of cross-site scripting.
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.
CISA-ADP
Assessed Jan 9, 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/rsecroot/Staff-Leave-Management-System/blob/main/Cross%20Site%20Scripting.md | [email protected] | ExploitThird Party Advisory |
| https://phpgurukul.com/ | [email protected] | Product |
| https://vuldb.com/?ctiid.340127 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.340127 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.733160 | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
| 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 |
|---|---|
| phpgurukul staff leave management system | 1.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Jan 22, 2026 | Initial Analysis | [email protected] |
| Jan 8, 2026 | New CVE Received | [email protected] |