Student Grades Management System
CVE-2025-11485
LOW
Severity by source
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
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
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
Lifecycle Timeline
1DescriptionCVE.org
A vulnerability was determined in SourceCodester Student Grades Management System 1.0. Affected is the function add_user of the file /admin.php of the component Manage Users Page. This manipulation of the argument first_name/last_name causes cross site scripting. The attack can be initiated remotely. The exploit has been publicly disclosed and may be utilized.
AnalysisAI
Stored cross-site scripting (XSS) in SourceCodester Student Grades Management System 1.0 allows authenticated administrators with high privileges to inject malicious scripts via the first_name or last_name parameters in the Manage Users Page (/admin.php), which are then executed when viewed by other users. The vulnerability requires administrator authentication and user interaction (page view), limiting real-world impact despite public exploit availability. EPSS exploitation probability is extremely low (0.03%, 9th percentile), reflecting the restrictive access controls (PR:H) and user interaction requirement (UI:P) despite network-accessible delivery.
Technical ContextAI
The vulnerability exists in a PHP-based student management application where user input via the add_user function in /admin.php is not properly sanitized or encoded before storage and display. The affected parameters (first_name, last_name) are injected into the database and later reflected in the Manage Users interface without HTML entity encoding or content security policy protections. This is a classic stored XSS vulnerability (CWE-79) where an attacker-controlled string persists in the application and executes in the context of other authenticated users' browsers. The vulnerability specifically affects version 1.0 of the Student Grades Management System (CPE: cpe:2.3:a:remyandrade:student_grades_management_system:1.0:*:*:*:*:*:*:*), a web application built with PHP.
RemediationAI
Vendor-released patch status not confirmed from available data - contact SourceCodester at https://www.sourcecodester.com/ to request a patched version. Immediate workarounds include: (1) Implement strict input validation on first_name and last_name fields by whitelisting alphanumeric characters and common name separators (hyphens, apostrophes) and rejecting any HTML/JavaScript syntax; (2) Apply HTML entity encoding (htmlspecialchars() in PHP with ENT_QUOTES flag) to all user-controlled data when rendering the Manage Users page; (3) Deploy a Content Security Policy (CSP) header prohibiting inline script execution (script-src 'self'; style-src 'self'); (4) Restrict access to /admin.php via network-level controls (IP whitelisting, VPN requirement) to reduce the number of administrator accounts with access; (5) Monitor admin page access logs for suspicious first_name/last_name patterns containing script tags or event handlers. Note that input validation alone is insufficient - output encoding is mandatory for XSS prevention. If the application allows direct HTML/script input by design, disable that functionality for user name fields.
More from same product – last 7 days
Authentication bypass in Discuz! X5.0 releases 20260320 through 20260501 allows unauthenticated remote attackers to acce
Authenticated remote code execution in Discuz! X5.0 releases 20260320 through 20260501 allows administrators to chain a
Unauthenticated PHP Object Injection in the Happyforms WordPress plugin (versions <= 1.26.13) allows remote attackers to
Unauthenticated PHP Object Injection in the Broadcast Live Video WordPress plugin (versions prior to 7.1.3) allows remot
Unauthenticated PHP object injection in the WordPress plugin 'Integration for Keap/Infusionsoft and Contact Form 7, WPFo
Share
External POC / Exploit Code
Leaving vuln.today