CVE-2024-1834 SourceCodester Simple Student Attendance System ?page=attendance&class_id=1 cross site scripting

Low 3.5 Published Updated

An attacker can inject malicious scripts via the class_date parameter in the attendance page, potentially executing code in victim browsers.

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

CVE-2024-1834 is a low-severity cross-site scripting vulnerability in SourceCodester Simple Student Attendance System, published on 23 Feb 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 was found in SourceCodester Simple Student Attendance System 1.0. It has been classified as problematic. This affects an unknown part of the file ?page=attendance&class_id=1. The manipulation of the argument class_date with the input 2024-02-23%22%3E%3Cscript%3Ealert(1)%3C/script%3E 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. The identifier VDB-254625 was assigned to this vulnerability.

Weakness: CWE-79

Which versions are affected by CVE-2024-1834?

It affects 1 product.

Products include Oretnom23 Simple Student Attendance System.

How do I fix CVE-2024-1834?

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

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

Sources

Also known as GHSA-mmg2-vff3-5c3f.

Is CVE-2024-1834 in your software?

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

Check your SBOMs for free