CVE-2024-7218 SourceCodester/Campcodes School Log Management System ajax.php cross site scripting

Medium 5.1 Published Updated

Remote attackers can inject malicious scripts via the Name parameter in the admin student save function, potentially compromising user sessions.

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

CVE-2024-7218 is a medium-severity cross-site scripting vulnerability in Campcodes School Log Management System, published on 30 Jul 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 flaw has been found in SourceCodester/Campcodes School Log Management System 1.0. Affected is an unknown function of the file /admin/ajax.php?action=save_student. Executing manipulation of the argument Name can lead to cross site scripting. The attack may be performed from remote. The exploit has been published and may be used.

Weakness: CWE-94, CWE-79

Which versions are affected by CVE-2024-7218?

It affects 1 product.

Products include Oretnom23 School Log Management System.

How do I fix CVE-2024-7218?

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

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

Sources

Also known as GHSA-7ggq-cf75-fcfc.

Is CVE-2024-7218 in your software?

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

Check your SBOMs for free