CVE-2024-2940 Campcodes Online Examination System updateCourse.php cross site scripting

Low 3.5 Published Updated

Remote attackers can inject malicious scripts via the id parameter in updateCourse.php, potentially compromising user sessions or data.

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-2024-2940?

CVE-2024-2940 is a low-severity cross-site scripting vulnerability in Campcodes Online Examination System, published on 27 Mar 2024. 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 classified as problematic was found in Campcodes Online Examination System 1.0. Affected by this vulnerability is an unknown functionality of the file /adminpanel/admin/facebox_modal/updateCourse.php. The manipulation of the argument id leads to cross site scripting. The attack can be launched remotely. The exploit has been disclosed to the public and may be used. The associated identifier of this vulnerability is VDB-258031.

Weakness: CWE-79

Which versions are affected by CVE-2024-2940?

It affects 1 product.

Products include Campcodes Online Examination System.

How do I fix CVE-2024-2940?

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

There is no known exploitation of CVE-2024-2940 in the wild and no public exploit code.

Sources

Also known as GHSA-j83g-jp4j-gx6g.

Is CVE-2024-2940 in your software?

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

Check your SBOMs for free