SecurityContext

CVE-2021-43137: Hostel Management System - Reflected XSS & Cross Site Request Forgery

  • Cve: CVE-2021-43137
  • Name: Hostel Management System - Reflected XSS & Cross Site Request Forgery
  • 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.
  • Impact: Attackers can hijack user accounts, steal session tokens, or perform unauthorized actions on behalf of users.
  • Remediation: Implement input validation, output encoding, and CSRF tokens to mitigate these vulnerabilities.
  • Vulnerability type: reflected_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: user_interaction
  • Requirements: Victim must visit malicious page or click malicious link
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Epss score: 0.01585
  • Epss percentile: 0.7609
  • Assignee: [email protected]
  • Published at: 2021-12-01T20:15:08Z
  • Age in days: 1819
  • Modified at: 2026-06-17T04:10:32Z
  • References total: 1
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-43137
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

References

UrlSourceTags
https://www.exploit-db.com/exploits/50461nvdThird Party Advisory, VDB Entry

Products

ProductAffectedPlatform boundSourcesUrl
phpgurukul:hostel_management_system= 2.1nonvd/v1/products/phpgurukul/hostel_management_system

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Exploitation seen: yes
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts