The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-2026-3402

CVE-2026-3402: Phpgurukul Student Record System XSS Flaw

CVE-2026-3402 is a cross-site scripting vulnerability in Phpgurukul Student Record Management System affecting the edit-course.php file. This article covers technical details, affected versions, and mitigation strategies.

Published: March 6, 2026

CVE-2026-3402 Overview

A Cross-Site Scripting (XSS) vulnerability has been identified in PHPGurukul Student Record Management System version 1.0 and earlier. This vulnerability exists in the /edit-course.php file and can be exploited through manipulation of the "Course Short Name" argument. The flaw allows attackers to inject malicious scripts that execute in the context of a victim's browser session when they view the affected page.

Critical Impact

Successful exploitation enables attackers to execute arbitrary JavaScript in authenticated user browsers, potentially leading to session hijacking, credential theft, or unauthorized actions performed on behalf of legitimate users within the student record management system.

Affected Products

  • PHPGurukul Student Record Management System version 1.0
  • PHPGurukul Student Record Management System versions prior to 1.0

Discovery Timeline

  • 2026-03-02 - CVE-2026-3402 published to NVD
  • 2026-03-03 - Last updated in NVD database

Technical Details for CVE-2026-3402

Vulnerability Analysis

This stored XSS vulnerability occurs within the course editing functionality of the Student Record Management System. When an administrator or authorized user modifies course information through /edit-course.php, the "Course Short Name" parameter fails to properly sanitize user input before storing it in the database and subsequently rendering it in the application's output.

The vulnerability is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation), indicating a failure to properly encode or escape user-controllable input before it is placed in output that is then used as a web page served to other users.

Since the exploit has been publicly disclosed and the attack can be initiated remotely, organizations using this software should prioritize assessment and remediation. The vulnerability requires high privileges to exploit but only passive user interaction from the victim.

Root Cause

The root cause of this vulnerability is insufficient input validation and output encoding in the /edit-course.php file. The application accepts user input for the "Course Short Name" field without properly sanitizing special characters that could be interpreted as HTML or JavaScript code. When this unsanitized data is later displayed to users, the browser executes the injected script as part of the legitimate page content.

Attack Vector

The attack is network-based, meaning it can be exploited remotely over the internet without requiring local access to the target system. An attacker with elevated privileges (such as an administrator account) can inject malicious scripts through the vulnerable parameter. When other users view pages containing the compromised course information, the malicious script executes in their browser context.

The exploitation sequence typically involves:

  1. An attacker with administrative access navigates to the course editing functionality
  2. Malicious JavaScript is inserted into the "Course Short Name" field
  3. The payload is stored in the application database
  4. When other users view the course information, the script executes in their browser session

Detection Methods for CVE-2026-3402

Indicators of Compromise

  • Unusual or encoded JavaScript code present in database fields related to course names
  • Web application firewall (WAF) logs showing XSS pattern matches in requests to /edit-course.php
  • Browser console errors or unexpected script execution when viewing course management pages
  • User reports of unusual behavior or redirects when accessing the student record system

Detection Strategies

  • Implement WAF rules to detect and block common XSS payloads in POST parameters to /edit-course.php
  • Deploy intrusion detection signatures that monitor for encoded script tags and JavaScript event handlers in form submissions
  • Enable detailed application logging to capture all modifications to course records for forensic analysis
  • Utilize browser-based security tools that can detect and report XSS attempts

Monitoring Recommendations

  • Monitor HTTP POST requests to /edit-course.php for suspicious patterns including <script>, javascript:, or encoded variants
  • Review database content periodically for stored XSS payloads in course-related tables
  • Configure Content Security Policy (CSP) violation reporting to detect script injection attempts
  • Audit administrative user activities, particularly modifications to course information

How to Mitigate CVE-2026-3402

Immediate Actions Required

  • Restrict access to the /edit-course.php functionality to only essential personnel until a patch is available
  • Implement a Web Application Firewall (WAF) with XSS protection rules in front of the application
  • Review and sanitize existing database content for any injected scripts in course name fields
  • Educate administrators about the vulnerability and advise caution when reviewing course data

Patch Information

At the time of publication, no official patch has been released by PHPGurukul for this vulnerability. Organizations should monitor the PHP Gurukul website for security updates. Additional technical details can be found in the GitHub Issue Discussion and VulDB entry #348297.

Workarounds

  • Implement server-side input validation to reject or encode special characters in the "Course Short Name" field
  • Deploy output encoding using PHP functions such as htmlspecialchars() when displaying user-supplied data
  • Add Content Security Policy (CSP) headers to restrict inline script execution
  • Consider using a web application firewall (WAF) with XSS filtering capabilities as a temporary measure
bash
# Example Apache configuration for basic XSS mitigation headers
# Add to .htaccess or httpd.conf for the application directory

# Enable XSS Protection
Header set X-XSS-Protection "1; mode=block"

# Implement basic Content Security Policy
Header set Content-Security-Policy "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'"

# Prevent MIME-type sniffing
Header set X-Content-Type-Options "nosniff"

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechPhpgurukul Student Record System

  • SeverityMEDIUM

  • CVSS Score4.8

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • GitHub Issue Discussion

  • PHP Gurukul Blog

  • VulDB CTI ID #348297

  • VulDB #348297

  • VulDB Submission ID #763323
  • Related CVEs
  • CVE-2026-3403: Phpgurukul Student Record System XSS Flaw

  • CVE-2025-5216: PHPGurukul Student Record System SQLi

  • CVE-2025-4108: Phpgurukul Student Record System SQLi

  • CVE-2025-4112: PHPGurukul Student Record System SQLi Flaw
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