Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-63611

CVE-2025-63611: phpgurukul Hostel Management XSS Flaw

CVE-2025-63611 is a stored cross-site scripting vulnerability in phpgurukul Hostel Management System v2.1 that allows attackers to inject malicious scripts via complaint forms, executing code in admin browsers.

Updated: January 22, 2026

CVE-2025-63611 Overview

CVE-2025-63611 is a stored Cross-Site Scripting (XSS) vulnerability affecting phpgurukul Hostel Management System version 2.1. The vulnerability exists in the complaint submission functionality where user-provided input in the "Explain the Complaint" field submitted via /register-complaint.php is stored without proper sanitization and later rendered unescaped in the administrative interface at /admin/complaint-details.php?cid=<id>. When an administrator opens a complaint to review it, any injected HTML or JavaScript code executes in the admin's browser context.

Critical Impact

This stored XSS vulnerability allows low-privileged users to execute arbitrary JavaScript in administrator sessions, potentially leading to session hijacking, administrative account takeover, or unauthorized actions performed on behalf of administrators.

Affected Products

  • phpgurukul Hostel Management System v2.1

Discovery Timeline

  • 2026-01-08 - CVE-2025-63611 published to NVD
  • 2026-01-08 - Last updated in NVD database

Technical Details for CVE-2025-63611

Vulnerability Analysis

This stored XSS vulnerability represents a significant security risk due to its privileged target context. The complaint submission feature allows authenticated users to register complaints through the /register-complaint.php endpoint. The "Explain the Complaint" text field accepts arbitrary user input which is stored directly in the database without input validation or output encoding.

When an administrator navigates to view complaint details via /admin/complaint-details.php?cid=<id>, the stored complaint text is retrieved from the database and rendered directly into the HTML response without proper escaping or sanitization. This allows malicious JavaScript payloads embedded in the complaint text to execute within the administrator's browser session.

The attack requires only low-level authentication (a standard user account can submit complaints), but exploitation occurs in an elevated context (administrator session). This scope change significantly increases the potential impact, as attackers can leverage the administrator's privileges to perform actions such as creating new admin accounts, modifying system configurations, or exfiltrating sensitive user data.

Root Cause

The root cause of this vulnerability is inadequate output encoding in the administrative complaint viewer component. The application fails to properly sanitize or HTML-encode user-supplied data before rendering it in the browser. Specifically, the /admin/complaint-details.php script directly outputs the stored complaint text without applying functions like htmlspecialchars() or equivalent encoding mechanisms, allowing HTML tags and JavaScript code to be interpreted by the browser rather than displayed as text.

Attack Vector

An attacker with a valid user account in the Hostel Management System can exploit this vulnerability through the following attack flow:

  1. The attacker logs into the system as a regular user
  2. The attacker navigates to the complaint registration page (/register-complaint.php)
  3. In the "Explain the Complaint" field, the attacker enters a malicious payload containing JavaScript code
  4. The complaint is submitted and stored in the database with the malicious content intact
  5. When an administrator opens the complaint details page to review the complaint, the malicious JavaScript executes in their browser
  6. The attacker's script can then steal the administrator's session cookie, perform CSRF attacks, or redirect the admin to a phishing page

This attack is particularly dangerous because it is persistent (stored) and automatically triggers when an administrator performs their routine duty of reviewing user complaints. For detailed technical analysis, refer to the Medium Analysis on CVE-2025-63611.

Detection Methods for CVE-2025-63611

Indicators of Compromise

  • Complaint records containing HTML tags such as <script>, <iframe>, <img>, or event handlers like onerror, onload, or onclick
  • Unusual outbound network requests from administrator workstations after viewing complaint pages
  • Session tokens being transmitted to external domains
  • Administrative actions occurring without corresponding legitimate administrator activity

Detection Strategies

  • Implement Web Application Firewall (WAF) rules to detect and block XSS payloads in POST requests to /register-complaint.php
  • Monitor database records in the complaints table for entries containing JavaScript or HTML markup patterns
  • Enable Content Security Policy (CSP) violation reporting to detect blocked script execution attempts
  • Review web server access logs for suspicious patterns in complaint-related endpoints

Monitoring Recommendations

  • Configure browser-based XSS auditors and CSP headers to block inline script execution
  • Implement real-time alerting for database insertions containing script tags or event handlers
  • Monitor administrator session activity for anomalous behavior following complaint review actions
  • Deploy endpoint detection solutions to identify cookie exfiltration or credential theft attempts

How to Mitigate CVE-2025-63611

Immediate Actions Required

  • Restrict access to the administrative complaint viewer until a patch can be applied
  • Review all existing complaint records in the database for potential malicious content and sanitize or remove suspicious entries
  • Implement Content Security Policy headers to prevent inline script execution as a defense-in-depth measure
  • Consider temporarily disabling the complaint submission feature until proper input validation is implemented

Patch Information

No official vendor patch has been released for this vulnerability at the time of publication. Administrators should monitor the PHP Gurukul Project Overview for security updates. Organizations using this software should implement manual code fixes or consider alternative solutions until an official patch is available.

Workarounds

  • Apply output encoding by modifying /admin/complaint-details.php to use htmlspecialchars() or htmlentities() when displaying user-submitted complaint content
  • Implement server-side input validation on /register-complaint.php to strip or reject HTML tags and JavaScript code
  • Deploy a WAF with XSS protection rules in front of the application
  • Implement strict Content Security Policy headers including script-src 'self' to prevent execution of injected scripts
php
# Recommended output encoding fix for complaint-details.php
# Replace direct variable output with encoded version:
# Instead of: echo $complaint_text;
# Use: echo htmlspecialchars($complaint_text, ENT_QUOTES, 'UTF-8');

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechPhpgurukul

  • SeverityHIGH

  • CVSS Score8.7

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • Medium Analysis on CVE-2025-63611

  • PHP Gurukul Project Overview
  • Related CVEs
  • CVE-2026-6162: PHPGurukul Visitor Management XSS Flaw

  • CVE-2026-5840: PHPGurukul News Portal SQLi Vulnerability

  • CVE-2026-5839: PHPGurukul News Portal SQL Injection Flaw

  • CVE-2026-5814: PHPGurukul Online Course Registration SQLi
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English