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

- Severity: Medium 5.1 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.42%, higher than 38% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-08-15T03:31:04.091Z
- Modified: 2026-06-17T08:20:57.960Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- CodeAstro Online Railway Reservation System: 1.0
- codeastro online_railway_reservation_system: 1.0
- online_railway_reservation_system_project online_railway_reservation_system: 1.0

## Every score

- VulDB: CVSS:4.0 5.1 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`
- VulDB: CVSS:3.1 2.4 Low `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:L/A:N`
- VulDB: CVSS:3.0 2.4 Low `CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:L/A:N`
- VulDB: CVSS:2.0 3.3 Low `AV:N/AC:L/Au:M/C:N/I:P/A:N`
- NVD: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/CYB84/CVE_Writeup/blob/main/Online%20Railway%20Reservation%20System/Stored%20XSS.md> (exploit)
- <https://vuldb.com/?id.274710> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.274710> (permissions-required, signature, vdb-entry)

## Sources

- CVE List: [CVE-2024-7814](https://www.cve.org/CVERecord?id=CVE-2024-7814), CVE Terms of Use, modified 2024-09-03
- NVD: [CVE-2024-7814](https://nvd.nist.gov/vuln/detail/CVE-2024-7814), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-7814 · Whole record: https://cve.day/CVE-2024-7814.json · Rebuilt by cve.day 2026-11-25T22:58:44.397Z
