SourceCodester Student Grades Management System CVE-2025-12332
LOWAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAttacker obtains admin credentials
-
DeliveryAccess /admin.php delete_user function
-
ExploitInject XSS payload into user deletion request
-
InstallPayload stored in database
-
C2Admin views affected user record
-
ExecuteMalicious script executes in admin's browser
-
ImpactSession hijacking or privilege abuse
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: (1) Valid administrative credentials or prior compromise of an admin account to access /admin.php; (2) The delete_user function must be accessible and must accept unsanitized input that is reflected or stored without encoding; (3) A second user (administrator or privileged user) must interact with the affected application content (e.g., view a user record containing the injected payload) for the XSS to execute in their browser. The vulnerability does NOT affect unauthenticated users or non-administrative accounts. Default configurations of the application are vulnerable, but practical exploitation is limited to scenarios where an insider threat or account compromise occurs. |
| Impact | This vulnerability presents minimal real-world risk despite POC availability. The CVSS v4.0 score of 1.9 reflects multiple limiting factors: requirement for high administrative privileges (PR:H), mandatory user interaction (UI:P), and limited impact scope (integrity only, no confidentiality or availability impact). The EPSS score of 0.05% (14th percentile) confirms that exploitation probability is very low, placing it well below the median for disclosed vulnerabilities. The contradiction between POC availability and low EPSS suggests the exploit requires a very specific operational context (admin access to a niche educational application) that is uncommon in the wild. The vulnerability is NOT listed in CISA KEV, indicating no confirmed active exploitation by threat actors. For most organizations, this is a low-priority issue suitable for standard patch cycles rather than emergency response. However, educational institutions or organizations running this specific application should still remediate, as an internal attacker with admin privileges could potentially perform stored XSS attacks, though with limited technical impact due to the vulnerability's constraints. |
| Exploit ScenarioDerived | An authenticated administrator (or attacker who compromised an admin account) navigates to /admin.php and manipulates the delete_user function to inject malicious JavaScript code into a user deletion request. The payload is stored in the application database. When another administrator or user views the affected user record in the admin interface, the XSS payload executes in their browser, potentially allowing the attacker to steal session cookies, modify admin settings, or perform actions on behalf of the victim. |
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) vulnerability in SourceCodester Student Grades Management System 1.0 allows authenticated administrators with high privileges to inject malicious scripts via the delete_user function in /admin.php, which execute in the context of other users' browsers when they interact with affected content. The vulnerability requires user interaction and administrative privileges to exploit, resulting in low integrity impact with a CVSS score of 1.9. Publicly available exploit code exists, though the very low EPSS score (0.05%, 14th percentile) suggests limited real-world exploitation despite POC availability.
RemediationAI
Upgrade to a patched version if available from the vendor; however, no specific patched version has been identified in the provided references, suggesting this may be open-source software where users are responsible for applying code fixes. As an immediate workaround, restrict administrative access to the /admin.php file using web server access controls (e.g., IP whitelisting, authentication requirements beyond the application layer) to limit who can reach the vulnerable delete_user function. If the application supports it, disable the delete_user feature entirely or implement strict input validation and output encoding for all user-supplied data, particularly in administrative functions. Additionally, apply Web Application Firewall (WAF) rules to detect and block common XSS payloads in request parameters passed to /admin.php. Refer to https://www.sourcecodester.com/ for official patches or security advisories. Given the low CVSS and EPSS scores, standard change management processes are appropriate; this does not require emergency patching.
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 developed by Remy Andrade. The flaw is rooted in CWE-79 (Improper Neutralization of Input During Web Page Generation), which indicates insufficient input validation or output encoding in the delete_user function accessible through the admin panel. The attack vector is network-based (AV:N), meaning an attacker can reach the vulnerable endpoint remotely; however, exploitation requires high-level administrative privileges (PR:H) to access the /admin.php file and execute the delete_user function. The presence of user interaction requirement (UI:P) in the CVSS vector indicates that successful exploitation depends on another user (likely an administrator or victim) clicking on or viewing attacker-crafted content, which is typical for stored XSS where the malicious payload is persisted in the application database.
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 flaw has been found in SourceCodester Student Grades Management System 1.0. This affects the function delete_user of the file /admin.php. Executing manipulation can lead to cross site scripting. The attack may be performed from remote. The exploit has been published and may be used.
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) in SourceCodester Student Grades Management System 1.0 allows authenticated administra
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB