CVE-2026-16155 SourceCodester Class and Exam Timetabling System schoolyr.php cross site scripting

Medium 5.1 Published Updated

Remote attackers can inject malicious scripts via the 'sy' parameter in schoolyr.php, potentially leading to session hijacking or code execution.

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-16155?

CVE-2026-16155 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 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.

Weakness: CWE-94, CWE-79

Which versions are affected by CVE-2026-16155?

How do I fix CVE-2026-16155?

No fix has been published for CVE-2026-16155 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-16155 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-16155 exists.

Sources

Also known as GHSA-wm4g-5mm6-6jv4.

Is CVE-2026-16155 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free