CVE-2026-16485

SourceCodester Class and Exam Timetabling System class.php cross site scripting

Published Jul 21, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
A vulnerability has been found in SourceCodester Class and Exam Timetabling System 1.0. Affected by this issue is some unknown functionality of the file /class.php. Such manipulation of the argument day leads to cross site scripting. The attack can be launched remotely. The exploit has been disclosed to the public and may be used.

Analysis

AI-generated

Technical impact

The vulnerability sits in the handling of the 'day' parameter within the /class.php file of SourceCodester Class and Exam Timetabling System. When an attacker supplies crafted input, arbitrary JavaScript is reflected back into the browser, enabling client‑side code execution. This reflected XSS (CWE‑79) can be exploited remotely by any user interacting with the web application and could lead to session hijacking, defacement, or data exfiltration in the context of authenticated users. The flaw is also a form of code injection (CWE‑94), reinforcing the potential impact of executing malicious code.

Affected Systems

The affected product is SourceCodester Class and Exam Timetabling System version 1.0, specifically the vulnerable class.php file that processes the 'day' argument.

Risk and Exploitability

The CVSS score of 5.3 indicates a moderate severity. However, the EPSS score of less than 1% suggests a low current exploitation probability, and the vulnerability is not listed in CISA’s KEV catalog. The flaw is publicly disclosed and can be triggered remotely, meaning any visitor to the site can exploit it if the version remains unpatched. The risk therefore depends largely on whether the application is exposed to the internet and whether users rely on the 'day' parameter for sensitive operations.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply any vendor‑supplied patch or upgrade to a newer release that removes the vulnerability.
  • If a patch is unavailable, sanitize or escape all user‑supplied values for the 'day' parameter in class.php, ensuring characters that can form scripts are handled safely.
  • Implement a Content‑Security‑Policy header to restrict script sources and block inline execution of attacker‑supplied code.

Generated by OpenCVE AI on August 4, 2026 at 00:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description A vulnerability has been found in SourceCodester Class and Exam Timetabling System 1.0. Affected by this issue is some unknown functionality of the file /class.php. Such manipulation of the argument day leads to cross site scripting. The attack can be launched remotely. The exploit has been disclosed to the public and may be used.
Title SourceCodester Class and Exam Timetabling System class.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': 5, 'vector': 'AV:N/AC:L/Au:N/C:N/I:P/A:N/E:POC/RL:ND/RC:UR'}

cvssV3_0

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

cvssV3_1

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

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P'}

Weaknesses
  • CWE-79

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

  • CWE-94

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

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Jul 22, 2026, 3:18 PM
Reserved
Jul 21, 2026, 3:39 PM
Status
Deferred
Published
Jul 21, 2026, 11:17 PM
Modified
Oct 24, 2026, 5:10 PM