CVE-2026-16156
Received Received - Intake

Cross-Site Scripting in Class and Exam Timetabling System

Vulnerability report for CVE-2026-16156, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-18

Last updated on: 2026-07-18

Assigner: VulDB

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-18
Last Modified
2026-07-18
Generated
2026-07-19
AI Q&A
2026-07-19
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
sourcecodester class_and_exam_timetabling_system 1.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
CWE-94 The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a cross-site scripting (XSS) flaw in SourceCodester Class and Exam Timetabling System 1.0. It exists in the file /forexam.php where the 'day' argument is not properly sanitized. An attacker can inject malicious scripts via this parameter, which executes in the context of a user's browser when the page is loaded.

Detection Guidance

To detect this XSS vulnerability in the SourceCodester Class and Exam Timetabling System 1.0, inspect the /forexam.php file for improper input validation of the 'day' parameter. Manually test by appending crafted payloads like <script>alert(1)</script> to the URL and observe if reflected in response.

Impact Analysis

This XSS vulnerability allows remote attackers to execute arbitrary scripts in a victim's browser. This could lead to session hijacking, theft of cookies or sensitive data, defacement of web pages, or redirection to malicious sites. Users with access to the timetabling system are at risk if they interact with the vulnerable page.

Compliance Impact

This vulnerability could impact compliance with GDPR and HIPAA by exposing sensitive user data through XSS attacks. GDPR requires protection of personal data, and HIPAA mandates safeguards for protected health information. A successful exploit may lead to unauthorized data access, violating these regulations and potentially resulting in legal penalties or loss of trust.

Mitigation Strategies

Immediately patch the application by updating to the latest version or applying a vendor-supplied fix. As a temporary measure, implement input validation to sanitize the 'day' parameter and use output encoding when rendering user-supplied data. Monitor network traffic for suspicious requests targeting /forexam.php.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-16156. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart