# CVE-2024-5976: SourceCodester Employee and Visitor Gate Pass Logging System log_employee sql injection

- Severity: Medium 6.9 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/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.67%, higher than 53% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-06-13T21:00:04.725Z
- Modified: 2026-06-17T08:17:01.390Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: VulDB

## Description

A vulnerability was found in SourceCodester Employee and Visitor Gate Pass Logging System 1.0. It has been classified as critical. Affected is the function log_employee of the file /classes/Master.php?f=log_employee. The manipulation of the argument employee_code leads to sql injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. VDB-268422 is the identifier 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:L/VI:L/VA:L/SC:N/SI:N/SA:N`
- VulDB: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- VulDB: CVSS:3.0 7.3 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- VulDB: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/Xu-Mingming/cve/blob/main/sql.md> (exploit, technical-description)
- <https://vuldb.com/?id.268422> (technical-description, vdb-entry)
- <https://vuldb.com/?ctiid.268422> (permissions-required, signature, vdb-entry)
- <https://vuldb.com/?submit.355692> (third-party-advisory)

## Sources

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

---

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