# CVE-2022-3470: SourceCodester Human Resource Management System getstatecity.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.63%, higher than 51% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-10-12T00:00:00.000Z
- Modified: 2026-06-17T04:59:35.447Z
- Weaknesses: CWE-89, CWE-707
- Assigned by: VulDB

## Description

A vulnerability was found in SourceCodester Human Resource Management System. It has been classified as critical. Affected is an unknown function of the file getstatecity.php. The manipulation of the argument sc 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-210714 is the identifier assigned to this vulnerability.

(As written by CVE List.)

## Affected

- SourceCodester Human Resource Management System: n/a
- oretnom23 human_resource_management_system: no versions given

## 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`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/Hanfu-l/POC-Exp/blob/main/The%20Human%20Resource%20Management%20System%20sc%20parameter%20is%20injected.pdf> (exploit, third-party-advisory)
- <https://vuldb.com/?id.210714> (permissions-required, third-party-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2022-3470 · Whole record: https://cve.day/CVE-2022-3470.json · Rebuilt by cve.day 2026-11-25T22:58:15.662Z
