CVE-2026-16156 SourceCodester Class and Exam Timetabling System forexam.php cross site scripting
Remote attackers can inject malicious scripts via the day parameter in forexam.php, potentially compromising user sessions or executing code.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-16156?
CVE-2026-16156 is a medium-severity cross-site scripting vulnerability in SourceCodester Class and Exam Timetabling System, published on 18 Jul 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
A security flaw has been discovered in SourceCodester Class and Exam Timetabling System 1.0. This affects an unknown part of the file /forexam.php. The manipulation of the argument day results in cross site scripting. It is possible to launch the attack remotely. The exploit has been released to the public and may be used for attacks.
Which versions are affected by CVE-2026-16156?
How do I fix CVE-2026-16156?
No fix has been published for CVE-2026-16156 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2026-16156 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-16156 exists.
Sources
Also known as GHSA-384v-9jpc-7qvm.