CVE-2026-5542 code-projects Simple Laundry System Parameter modstaffinfo.php cross site scripting

Medium 5.3 Published Updated

Remote attackers can inject malicious scripts via the userid parameter in modstaffinfo.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-5542?

CVE-2026-5542 is a medium-severity cross-site scripting vulnerability in code-projects Simple Laundry System, published on 5 Apr 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 was determined in code-projects Simple Laundry System 1.0. Impacted is an unknown function of the file /modstaffinfo.php of the component Parameter Handler. Executing a manipulation of the argument userid can lead to cross site scripting. The attack may be launched remotely. The exploit has been publicly disclosed and may be utilized.

Weakness: CWE-94, CWE-79

Which versions are affected by CVE-2026-5542?

How do I fix CVE-2026-5542?

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

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

Sources

Also known as GHSA-whhc-4mg3-jgh7.

Is CVE-2026-5542 in your software?

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

Check your SBOMs for free