CVE-2026-78059 SourceCodester Stock Management System printOrder.php cross site scripting

Medium 5.3 Published Updated

Remote attackers can inject malicious scripts via clientName or clientContact parameters in printOrder.php, potentially compromising user sessions.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-78059?

CVE-2026-78059 is a medium-severity cross-site scripting vulnerability in SourceCodester Stock Management System, published on 23 Aug 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

A vulnerability has been found in SourceCodester Stock Management System 1.0. This vulnerability affects unknown code of the file /php_action/printOrder.php. Such manipulation of the argument clientName/clientContact leads to cross site scripting. The attack may be performed from remote. The exploit has been disclosed to the public and may be used.

Weakness: CWE-94, CWE-79

Which versions are affected by CVE-2026-78059?

How do I fix CVE-2026-78059?

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

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

Sources

Also known as GHSA-m7q6-3v5v-h4c2.

Is CVE-2026-78059 in your software?

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

Check your SBOMs for free