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

Source: https://junglewise.ai/threats/cve-2026-16485-sourcecodester-class-and-exam-timetabling-system-xss-in-class-php  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-21. Updated: 2026-07-22  
License: CC BY 4.0 with a link back

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](https://junglewise.ai/threats/technologies/class-and-exam-timetabling-system). Vendors: [SourceCodester](https://junglewise.ai/threats/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

- [https://github.com/ashfaqsharif47-arch/Web-RCE/issues/1](https://github.com/ashfaqsharif47-arch/Web-RCE/issues/1)
- [https://vuldb.com/cve/CVE-2026-16485](https://vuldb.com/cve/CVE-2026-16485)
- [https://vuldb.com/submit/859906](https://vuldb.com/submit/859906)
- [https://vuldb.com/vuln/380943](https://vuldb.com/vuln/380943)
- [https://vuldb.com/vuln/380943/cti](https://vuldb.com/vuln/380943/cti)
- [https://www.sourcecodester.com/](https://www.sourcecodester.com/)

## Related threats

- [SourceCodester Class and Exam Timetabling System XSS in subject parameter](https://junglewise.ai/threats/cve-2026-90615-sourcecodester-class-and-exam-timetabling-system-xss-in-subject)
- [SourceCodester Class and Exam Timetabling System SQL injection in /delete_subject.php](https://junglewise.ai/threats/cve-2026-86298-sourcecodester-class-and-exam-timetabling-system-sql-injection-in)
- [SourceCodester Class and Exam Timetabling System SQL injection in room management](https://junglewise.ai/threats/cve-2026-86225-sourcecodester-class-and-exam-timetabling-system-sql-injection-in)
- [SourceCodester Class and Exam Timetabling System SQL injection in product modal](https://junglewise.ai/threats/cve-2026-86224-sourcecodester-class-and-exam-timetabling-system-sql-injection-in)
- [SourceCodester Class and Exam Timetabling System SQL injection in course parameter](https://junglewise.ai/threats/cve-2026-86223-sourcecodester-class-and-exam-timetabling-system-sql-injection-in)
