| 제목 | PHPGurukul Staff Leave Management System v1.0 Cross Site Scripting |
|---|
| 설명 | A critical stored cross-site scripting (XSS) vulnerability exists in the Staff Leave Management System due to unrestricted file upload functionality in the profile picture feature. The application fails to validate uploaded file types and content, allowing authenticated administrators to upload malicious SVG files containing embedded JavaScript code.
The vulnerability exists in two locations:
Admin profile update functionality (http://127.0.0.1:8000/Profile)
Staff creation functionality (http://127.0.0.1:8000/Admin/Staff/Add)
The application accepts SVG files without content inspection or sanitisation. When these files are rendered in the browser (either by viewing user profiles or opening images in new tabs), the embedded JavaScript executes in the security context of any user viewing the content, including other administrators. |
|---|
| 원천 | ⚠️ https://github.com/rsecroot/Staff-Leave-Management-System/blob/main/Cross%20Site%20Scripting.md |
|---|
| 사용자 | hackerfactory (UID 85869) |
|---|
| 제출 | 2026. 01. 06. PM 10:29 (9 개월 ago) |
|---|
| 모더레이션 | 2026. 01. 08. PM 04:13 (2 days later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 340127 [PHPGurukul Staff Leave Management System 1.0 SVG File adminviews.py ADD_STAFF/UPDATE_STAFF profile_pic 크로스 사이트 스크립팅] |
|---|
| 포인트들 | 20 |
|---|