Description
A vulnerability was determined in SourceCodester Class and Exam Timetabling System 1.0. Affected by this vulnerability is an unknown functionality of the file /CYS.php. This manipulation of the argument course causes cross site scripting. The attack is possible to be carried out remotely. The exploit has been publicly disclosed and may be utilized.
Published: 2026-07-19
Score: 5.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A flaw exists in the SourceCodester Class and Exam Timetabling System 1.0 file /CYS.php where manipulating the "course" argument permits the insertion of arbitrary script code. The vulnerability is an XSS defect that can be triggered remotely and has been publicly disclosed. An attacker can exploit this to inject malicious JavaScript that runs in the victim’s web browser, potentially leading to session hijacking, credential theft or defacement of the application interface.

Affected Systems

The known affected product is SourceCodester Class and Exam Timetabling System version 1.0. The vulnerability is present in this release and may affect any deployment of the software that exposes the /CYS.php endpoint to user input.

Risk and Exploitability

The CVSS score of 5.1 indicates a medium severity impact. The EPSS score is below 1%, suggesting a very low likelihood of widespread exploitation at this time. The vulnerability is not listed in the CISA KEV catalog. Attackers can remotely craft carefully crafted "course" parameter values to inject scripts. Successful exploitation could compromise user sessions or compromise the confidentiality of sensitive data stored in the client browser context. Because the flaw resides in a publicly accessible PHP script, it can be triggered by any user with network access to the web server.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Check the vendor’s website or community forums for a patch that removes the XSS vulnerability or upgrades the software to a version where the flaw is fixed.
  • If a patch is unavailable, replace /CYS.php with a corrected version that sanitizes the course parameter, accepting only alphanumeric characters within an allowed length and removes any embedded script tags.
  • As a temporary measure, configure the web application to use a Content Security Policy that restricts inline scripts and disallows unsafe evaluation, and set the X-XSS-Protection response header to "1; mode=block".
  • Consider disabling or limiting the course query parameter for users who do not require it, thereby reducing the attack surface.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 22 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Sun, 19 Jul 2026 01:45:00 +0000

Type Values Removed Values Added
Description A vulnerability was determined in SourceCodester Class and Exam Timetabling System 1.0. Affected by this vulnerability is an unknown functionality of the file /CYS.php. This manipulation of the argument course causes cross site scripting. The attack is possible to be carried out remotely. The exploit has been publicly disclosed and may be utilized.
Title SourceCodester Class and Exam Timetabling System CYS.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-22T15:03:13.955Z

Reserved: 2026-07-18T07:32:40.789Z

Link: CVE-2026-16202

cve-icon Vulnrichment

Updated: 2026-07-22T15:03:10.169Z

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')