Description
A security flaw has been discovered in SourceCodester Class and Exam Timetabling System 1.0. This affects an unknown part of the file /forexam.php. The manipulation of the argument day results in cross site scripting. It is possible to launch the attack remotely. The exploit has been released to the public and may be used for attacks.
Published: 2026-07-18
Score: 5.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The flaw is a reflected cross‑site scripting vulnerability in the forexam.php page of SourceCodester Class and Exam Timetabling System 1.0. By manipulating the user supplied "day" query parameter, an attacker can inject arbitrary JavaScript that will execute in the browser of anyone who visits the crafted URL. Based on typical XSS consequences, an attacker could potentially steal session cookies, redirect users to malicious sites, or deface the application – impacts that are inferred from the nature of the flaw rather than explicitly stated in the CVE description.

Affected Systems

The vulnerable component is the forexam.php script in SourceCodester Class and Exam Timetabling System, version 1.0. No other product versions or vendors are listed as affected by the current advisory.

Risk and Exploitability

The CVSS score of 5.1 indicates a moderate risk rating, while the EPSS score of less than 1% suggests that practical exploitation cases are currently rare. The attack path is remote – an attacker only needs to persuade a user to visit a malicious link. A proof‑of‑concept is already publicly available, but the vulnerability is not catalogued in the CISA KEV database. Based on typical XSS scenarios, the threat becomes more concerning if the system is exposed to untrusted users or can be accessed from the public Internet.

Generated by OpenCVE AI on July 30, 2026 at 22:53 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Check for and apply the latest official patch or update for SourceCodester Class and Exam Timetabling System, if one has been released
  • Sanitize the "day" query parameter on the server side, allowing only expected numeric or otherwise safe values
  • Escape all dynamic output rendered by forexam.php before it reaches the browser, encoding special characters
  • Implement a Content Security Policy that restricts inline scripts and disallows unsafe‑eval to mitigate XSS
  • Deploy a Web Application Firewall rule set that detects and blocks common XSS vectors

Generated by OpenCVE AI on July 30, 2026 at 22:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 21 Jul 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sat, 18 Jul 2026 21:30:00 +0000

Type Values Removed Values Added
Description A security flaw has been discovered in SourceCodester Class and Exam Timetabling System 1.0. This affects an unknown part of the file /forexam.php. The manipulation of the argument day results in cross site scripting. It is possible to launch the attack remotely. The exploit has been released to the public and may be used for attacks.
Title SourceCodester Class and Exam Timetabling System forexam.php cross site scripting
First Time appeared Sourcecodester
Sourcecodester class And Exam Timetabling System
Weaknesses CWE-79
CWE-94
CPEs cpe:2.3:a:sourcecodester:class_and_exam_timetabling_system:*:*:*:*:*:*:*:*
Vendors & Products Sourcecodester
Sourcecodester class And Exam Timetabling System
References
Metrics cvssV2_0

{'score': 4, 'vector': 'AV:N/AC:L/Au:S/C:N/I:P/A:N/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 3.5, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 3.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 5.1, 'vector': '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'}


Subscriptions

Sourcecodester Class And Exam Timetabling System
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-07-21T14:58:44.621Z

Reserved: 2026-07-17T19:34:13.229Z

Link: CVE-2026-16156

cve-icon Vulnrichment

Updated: 2026-07-21T13:40:29.327Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-30T23:00:22Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

  • CWE-94

    Improper Control of Generation of Code ('Code Injection')