# CVE-2024-5897: SourceCodester Employee and Visitor Gate Pass Logging System cross site scripting

- Severity: Medium 6.9 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/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.62%, higher than 50% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-06-12T16:00:05.697Z
- Modified: 2026-06-17T08:16:52.120Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## Description

A vulnerability has been found in SourceCodester Employee and Visitor Gate Pass Logging System 1.0 and classified as problematic. Affected by this vulnerability is an unknown functionality of the file /classes/Master.php?f=log_visitor. The manipulation of the argument name leads to cross site scripting. The attack can be launched remotely. The exploit has been disclosed to the public and may be used. The identifier VDB-268141 was assigned to this vulnerability.

(As written by CVE List.)

## Affected

- SourceCodester Employee and Visitor Gate Pass Logging System: 1.0
- sourcecodester employee_visitor_gatepass_logging_system: 1.0
- oretnom23 employee_and_visitor_gate_pass_logging_system: 1.0

## Every score

- VulDB: CVSS:4.0 6.9 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`
- VulDB: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`
- VulDB: CVSS:3.0 4.3 Medium `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`
- VulDB: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:P/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/Hefei-Coffee/cve/blob/main/xss.md> (exploit, third-party-advisory)
- <https://vuldb.com/?id.268141> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.268141> (permissions-required, signature, third-party-advisory)
- <https://vuldb.com/?submit.354923> (third-party-advisory)

## Sources

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

---

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