CVE-2026-16155

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

Published Jul 18, 2026 CVSS 4.0 · 5.1 Medium EPSS < 1% KEV · Not listed
Description
A vulnerability was identified in SourceCodester Class and Exam Timetabling System 1.0. Affected by this issue is some unknown functionality of the file /schoolyr.php. The manipulation of the argument sy leads to cross site scripting. It is possible to initiate the attack remotely. The exploit is publicly available and might be used.

Analysis

AI-generated

Technical impact

The vulnerability in the schoolyr.php file of SourceCodester Class and Exam Timetabling System 1.0 allows an attacker to supply a crafted 'sy' parameter value that is reflected in the response without proper encoding, resulting in a cross‑site scripting flaw. The exposed script execution is limited to the client browser, enabling the attacker to run arbitrary JavaScript in the context of users who visit the affected page. This can lead to session hijacking, data theft, or phishing attempts, but does not provide direct server‑side code execution.

Affected Systems

SourceCodester Class and Exam Timetabling System version 1.0 is the only product listed as affected. No other vendors or product lines are mentioned in the provided data or references, and the vulnerability is tied specifically to the schoolyr.php script of this version.

Risk and Exploitability

The CVSS score of 5.1 classifies the issue as medium severity, while the EPSS score of less than 1% indicates a low likelihood of exploitation in the wild. The vulnerability is not included in the CISA KEV catalog, further suggesting that it has not been reported as a known exploited vulnerability. The flaw can be triggered remotely by sending malicious content in the 'sy' query parameter to the publicly accessible schoolyr.php endpoint.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the application to the latest release that addresses the XSS flaw
  • Ensure the 'sy' input parameter is validated against a whitelist and any reflected output is properly encoded before rendering
  • Restrict or remove exposure of schoolyr.php for users who do not need it, or place it behind authentication boundaries
  • Deploy a web‑application firewall with XSS detection rules to block malicious scripts

Generated by OpenCVE AI on July 30, 2026 at 22:53 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 was identified in SourceCodester Class and Exam Timetabling System 1.0. Affected by this issue is some unknown functionality of the file /schoolyr.php. The manipulation of the argument sy leads to cross site scripting. It is possible to initiate the attack remotely. The exploit is publicly available and might be used.
Title SourceCodester Class and Exam Timetabling System schoolyr.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'}

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 21, 2026, 1:58 PM
Reserved
Jul 17, 2026, 7:34 PM
Status
Deferred
Published
Jul 18, 2026, 9:17 PM
Modified
Oct 24, 2026, 8:10 PM