Skip to main content

Student Grades Management System CVE-2025-11485

LOW
Cross-site Scripting (XSS) (CWE-79)
2025-10-08 cna@vuldb.com
1.9
CVSS 4.0 · NVD

Severity by source

NVD PRIMARY
1.9 LOW
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
Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
P
Scope
X

Lifecycle Timeline

1
Analysis Generated
Apr 29, 2026 - 01:33 vuln.today

DescriptionCVE.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.

Share

CVE-2025-11485 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy