# CVE-2023-1796: SourceCodester Employee Payslip Generator Create News cross site scripting

- Severity: Low 2.4 (CVSS:3.1, scored by VulDB) `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:L/A: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.68%, higher than 47% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-04-02T09:00:06.561Z
- Modified: 2026-06-17T05:28:46.517Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## Description

A vulnerability classified as problematic has been found in SourceCodester Employee Payslip Generator 1.0. Affected is an unknown function of the file /classes/Master.php?f=save_position of the component Create News Handler. The manipulation of the argument name with the input <script>alert(document.cookie)</script> 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. The identifier of this vulnerability is VDB-224748.

(As written by CVE List.)

## Affected

- SourceCodester Employee Payslip Generator: 1.0
- employee_payslip_generator_system_project employee_payslip_generator_system: 1.0

## Every score

- 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 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/Jean-Astruc/bug_report/blob/main/XSS-1.md> (exploit, third-party-advisory)
- <https://vuldb.com/?id.224748> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.224748> (permissions-required, signature, third-party-advisory)

## Sources

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

---

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