# CVE-2022-2018: SourceCodester Prison Management System Inmate sql injection

- Priority: **Routine**
- Reason: Not severe (CVSS 4.7, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-06-07 · Modified: 2025-04-15
- Record: https://cvemate.com/vulnerability/CVE-2022-2018 · JSON: https://cvemate.com/vulnerability/CVE-2022-2018/json

## Description

```text
A vulnerability classified as critical has been found in SourceCodester Prison Management System 1.0. Affected is an unknown function of the file /admin/?page=inmates/view_inmate of the component Inmate Handler. The manipulation of the argument id with the input 1%27%20and%201=2%20union%20select%201,user(),3,4,5,6,7,8,9,0,database(),2,3,4,5,6,7,8,9,0,1,2,3,4--+ leads to sql injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.
```

## Signals

- CVSS: 7.5 high (v2.0, NVD) AV:N/AC:L/Au:N/C:P/I:P/A:P
- EPSS: 0.802%, percentile 57.972%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- prison\_management\_system\_project prison\_management\_system: 1.0
- sourcecodester prison management system: 1.0

## References

- <https://github.com/ch0ing/vul/blob/main/WebRay.com.cn/Prison%20Management%20System%28SQLI%29.md>
- <https://vuldb.com/?id.201366>

---

Data as of 2026-12-05T06:10:47.696Z. 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
