CVE-2021-43137

HIGH

Hostel Management System 2.1 - XSS, CSRF

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2021-43137. PoCs published by Anubhav Singh.

AI-analyzed exploit summary This exploit demonstrates a CSRF to XSS attack in PHPGurukul Hostel Management System 2.1. It crafts a malicious HTML form that submits a profile update with an XSS payload, leading to cookie theft and potential account takeover.

Description

Cross-Site Scripting (XSS) and Cross-Site Request Forgery (CSRF) vulnerability exits in hostel management system 2.1 via the name field in my-profile.php. Chaining to this both vulnerabilities leads to account takeover.

Exploits (1)

exploitdb WORKING POC
by Anubhav Singh · htmlwebappsphp
https://www.exploit-db.com/exploits/50461

This exploit demonstrates a CSRF to XSS attack in PHPGurukul Hostel Management System 2.1. It crafts a malicious HTML form that submits a profile update with an XSS payload, leading to cookie theft and potential account takeover.

Classification
Working Poc 95%
Attack Type
Xss
Complexity
Trivial
Reliability
Reliable
Target: PHPGurukul Hostel Management System V 2.1
Auth required
Prerequisites: Victim must be authenticated and visit the malicious HTML page · Attacker must intercept or craft the CSRF request
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (1)

Core 1
Core References
Third Party Advisory, VDB Entry x_refsource_misc
https://www.exploit-db.com/exploits/50461

Scores

CVSS v3 8.8
EPSS 0.0014
EPSS Percentile 33.3%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Details

CWE
CWE-352 CWE-79
Status published
Products (1)
phpgurukul/hostel_management_system 2.1
Published Dec 01, 2021
Tracked Since Feb 18, 2026