| Título | PHPGurukul Hospital Management System 4.0 Cross Site Scripting |
|---|
| Descripción | Software link: https://phpgurukul.com/hospital-management-system-in-php/
Steps to reproduce:
1. Go to the website and login to as a admin (http://localhost/Hospital-Management-System-PHP/hospital/index.php#)
2. Navigate to search box section on the website
3. Fill up the search box with required HTML/attribute-based XSS payload
4. Payload: <img src=x onerror=alert('XSS');>
5. Hit search button and inject the XSS payload
6. Observed that the injected XSS payload reflected on the website. Which confirms that the website is vulnerable to HTML/attribute based XSS.
PoC video link: https://drive.google.com/file/d/13ktF2bgdu7oHi1cuSuNHFuv9e2tbIjV3/view?usp=sharing
Impact:
1. Arbitrary JavaScript execution
2. Session theft account takeover
3. Data exfiltration
4. Malware delivery / persistence
Mitigation:
1. Stop inserting untrusted input as HTML
2. Sanitize when HTML is required
3. Context-aware encoding
4. Enforce a strong Content-Security-Policy (CSP)
Researcher:
Minhajul Taivin (Offensive Security Researcher @ Red Team Bangladesh)
https://www.linkedin.com/in/minhajultaivin/ |
|---|
| Fuente | ⚠️ https://github.com/minhajultaivin/security-advisories/blob/main/CVE-2025-9753.md |
|---|
| Usuario | taivack (UID 92759) |
|---|
| Sumisión | 2025-11-18 18:23 (hace 11 meses) |
|---|
| Moderación | 2025-12-05 18:02 (17 days later) |
|---|
| Estado | Duplicado |
|---|
| Entrada de VulDB | 322054 [Campcodes Online Hospital Management System 1.0 Patient Search patient-search.php Search by Name Mobile No secuencias de comandos en sitios cruzados] |
|---|
| Puntos | 0 |
|---|