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

- Priority: **Routine**
- Reason: Not severe (CVSS 6.9, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-06-12 · Modified: 2024-08-01
- Record: https://cvemate.com/vulnerability/CVE-2024-5897 · JSON: https://cvemate.com/vulnerability/CVE-2024-5897/json

## Description

```text
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.
```

## Signals

- CVSS: 6.9 medium (v4.0, CVE.org) 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
- EPSS: 0.617%, percentile 51.012%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- oretnom23 employee\_and\_visitor\_gate\_pass\_logging\_system: 1.0
- sourcecodester employee and visitor gate pass logging system: 1.0

## References

- <https://vuldb.com/?id.268141>
- <https://vuldb.com/?ctiid.268141>
- <https://vuldb.com/?submit.354923>
- <https://github.com/Hefei-Coffee/cve/blob/main/xss.md>

---

Data as of 2026-12-05T10:27:37.893Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
