CVE-2024-7814 CodeAstro Online Railway Reservation System Add Employee Page admin-add-employee.php cross site scripting

Medium 5.1 Published Updated

Attackers can inject malicious scripts via employee fields in the admin panel, potentially compromising user sessions or data.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-7814?

CVE-2024-7814 is a medium-severity cross-site scripting vulnerability in CodeAstro Online Railway Reservation System, published on 15 Aug 2024. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

A vulnerability, which was classified as problematic, was found in CodeAstro Online Railway Reservation System 1.0. Affected is an unknown function of the file /admin/admin-add-employee.php of the component Add Employee Page. The manipulation of the argument emp_fname /emp_lname /emp_nat_idno/emp_addr leads to cross site scripting. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.

Weakness: CWE-79

Which versions are affected by CVE-2024-7814?

It affects 1 product.

Products include Online Railway Reservation System Project Online Railway Reservation System.

How do I fix CVE-2024-7814?

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

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

Sources

Also known as GHSA-cjw7-m3pc-wg7r.

Is CVE-2024-7814 in your software?

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

Check your SBOMs for free