CVE-2026-16485: SourceCodester Class and Exam Timetabling System XSS in class.php

CVE-2026-16485 · Severity: medium · CVSS 4.3 · Published 2026-07-21

A vulnerability exists in the SourceCodester Class and Exam Timetabling System, a web application used for managing academic schedules. An attacker can inject malicious scripts into the system that execute when a user views a specific page. This could allow an attacker to perform unauthorized actions on behalf of users, steal session information, or deface the application's interface.

Technologies: SourceCodester Class and Exam Timetabling System. Vendors: SourceCodester.

Quick answers

Is CVE-2026-16485 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-16485 being exploited in the wild.
How severe is CVE-2026-16485?
Medium severity, with a CVSS score of 4.3, published 21 July 2026.
Which products and versions are affected?
SourceCodester Class and Exam Timetabling System 1.0.
Is there a fix for CVE-2026-16485?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-16485 attacked?
It is attacked over the network, in a web application.
Am I affected by CVE-2026-16485?
Check whether you run SourceCodester Class and Exam Timetabling System at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A reflected cross-site scripting (XSS) vulnerability exists in SourceCodester Class and Exam Timetabling System 1.0. The issue is located in the '/class.php' file, where the 'day' parameter is processed without sufficient input validation or output encoding. A remote, unauthenticated attacker can craft a malicious URL containing a script payload (e.g., <script>prompt(/xss/);</script>). When a victim visits this URL, the script executes within the context of their browser session. This can lead to session hijacking via cookie theft or unauthorized state-changing actions. No official patch is currently available, but users are advised to implement output encoding and input filtering.

Affected products

  • SourceCodester Class and Exam Timetabling System 1.0

Timeline

  • 2026-06-16: disclosed: Vulnerability details and PoC published on GitHub
  • 2026-07-21: advisory: NVD/VulDB advisory published

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.