# CVE-2022-2492: SourceCodester Library Management System index.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.78%, higher than 56% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2022-07-20T11:35:56.000Z
- Modified: 2026-06-17T04:41:59.903Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## Description

A vulnerability was found in SourceCodester Library Management System 1.0 and classified as critical. This issue affects some unknown processing of the file /index.php. The manipulation of the argument RollNo with the input admin' AND (SELECT 2625 FROM (SELECT(SLEEP(5)))MdIL) AND 'KXmq'='KXmq&Password=1231312312 leads to sql injection. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used.

(As written by CVE List.)

## Affected

- SourceCodester Library Management System: 1.0
- library_management_system_project library_management_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`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/xiahao90/CVEproject/blob/main/xiahao.webray.com.cn/Library-Management-System-with-QR-code-Attendance-and-Auto-Generate-Library-Card.md#index.php> (exploit, third-party-advisory)
- <https://vuldb.com/?id.204575> (exploit, third-party-advisory)

## Sources

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

---

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