CVE-2024-6212 SourceCodester Simple Student Attendance System student_form.php get_student cross site scripting

Medium 5.3 Published Updated

Remote attackers can inject malicious scripts via the student ID parameter in the attendance system, 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-2024-6212?

CVE-2024-6212 is a medium-severity cross-site scripting vulnerability in SourceCodester Simple Student Attendance System, published on 21 Jun 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability was found in SourceCodester Simple Student Attendance System 1.0 and classified as problematic. Affected by this issue is the function get_student of the file student_form.php. The manipulation of the argument id leads to cross site scripting. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. The identifier of this vulnerability is VDB-269276.

Weakness: CWE-89, CWE-79

Which versions are affected by CVE-2024-6212?

It affects 1 product.

Products include Oretnom23 Simple Student Attendance System.

How do I fix CVE-2024-6212?

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

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

Sources

Also known as GHSA-4395-qwxq-qcc7.

Is CVE-2024-6212 in your software?

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

Check your SBOMs for free