SQL injectionin SourceCodester Prison Management System.
No public exploit found; not on exploited lists.
A vulnerability was found in SourceCodester Prison Management System 1.0. It has been rated as critical. This issue affects some unknown processing of the file /pms/admin/visits/view_visit.php of the component Visit Handler. The manipulation of the argument id with the input 2%27and%201=2%20union%20select%201,2,3,4,5,6,7,user(),database()--+ leads to sql injection. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used.
- No source names a fix yet. Watch this page or the product for updates; we never guess a fixed version.
Not confirmed by any source yet: fixed version not confirmed. We show these as not confirmed instead of guessing.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 7 Jun 2022CVE ID reserved by VulDB.
- 7 Jun 2022Published in the CVE List.
- 15 Apr 2025CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other Prison Management System vulnerabilities
Same weakness: SQL injection
- github.com x_refsource_MISC
- vuldb.com x_refsource_MISC
Patchminder. CVE-2022-2017: SQL injection in SourceCodester Prison Management System. https://patchminder.com/cve/cve-2022-2017/ (accessed 5 December 2026).