CVE-2025-0342 CampCodes Computer Laboratory Management System edit cross site scripting

Medium 5.3 Published Updated

Remote attackers can inject malicious scripts via the s_lname parameter in the edit module, potentially compromising user sessions.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-0342?

CVE-2025-0342 is a medium-severity cross-site scripting vulnerability in CampCodes Computer Laboratory Management System, published on 9 Jan 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability, which was classified as problematic, was found in CampCodes Computer Laboratory Management System 1.0. This affects an unknown part of the file /class/edit/edit. The manipulation of the argument s_lname leads to cross site scripting. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used. Other parameters might be affected as well.

Weakness: CWE-94, CWE-79

Which versions are affected by CVE-2025-0342?

It affects 1 product.

Products include Campcodes Computer Laboratory Management System.

How do I fix CVE-2025-0342?

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

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

Sources

Also known as GHSA-2gpm-3664-wpcp.

Is CVE-2025-0342 in your software?

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

Check your SBOMs for free