Skip to main content

SourceCodester Student Grades Management System CVE-2025-12332

LOW
Cross-site Scripting (XSS) (CWE-79)
2025-10-28 cna@vuldb.com
1.9
CVSS 4.0 · Vendor: vuldb
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Attacker obtains admin credentials
  2. Delivery
    Access /admin.php delete_user function
  3. Exploit
    Inject XSS payload into user deletion request
  4. Install
    Payload stored in database
  5. C2
    Admin views affected user record
  6. Execute
    Malicious script executes in admin's browser
  7. Impact
    Session 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (vuldb) 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

Primary rating from Vendor (vuldb) · only source for this CVE.

CVSS VectorVendor: vuldb

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.0%
Top 86% exploitable
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

cpe:2.3:a:remyandrade:student_grades_management_system:1.0:*:*:*:*:*:*:*

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