# CVE-2023-1845: SourceCodester Online Payroll System employee_row.php sql injection

- Severity: Medium 6.3 (CVSS:3.1, scored by VulDB) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- 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.81%, higher than 58% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-04-05T06:00:07.498Z
- Modified: 2026-06-17T05:28:52.583Z
- Weaknesses: CWE-89
- Assigned by: VulDB

## Description

A vulnerability, which was classified as critical, was found in SourceCodester Online Payroll System 1.0. This affects an unknown part of the file /admin/employee_row.php. The manipulation of the argument id leads to sql injection. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used. The identifier VDB-224985 was assigned to this vulnerability.

(As written by CVE List.)

## Affected

- SourceCodester Online Payroll System: 1.0
- online_payroll_system_project online_payroll_system: 1.0

## Every score

- VulDB: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- VulDB: CVSS:3.0 6.3 Medium `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- VulDB: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/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/E1CHO/cve_hub/blob/main/Online%20Payroll%20System%20in%20PHP%20and%20MySQL%20Free%20Download%20A%20Comprehensive%20Guide/Online%20Payroll%20System%20in%20PHP%20and%20MySQL%20Free%20Download%20A%20Comprehensive%20Guide%20-%20vlun%202.pdf> (exploit, third-party-advisory)
- <https://vuldb.com/?id.224985> (permissions-required, technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.224985> (permissions-required, signature, third-party-advisory, vdb-entry)

## Sources

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

---

Page: https://cve.day/CVE-2023-1845 · Whole record: https://cve.day/CVE-2023-1845.json · Rebuilt by cve.day 2026-11-25T22:58:23.088Z
