# CVE-2025-9789: SourceCodester Online Hotel Reservation System edituser.php sql injection

- Severity: Medium 6.9 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- 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.48%, higher than 42% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-09-01T18:02:07.145Z
- Modified: 2026-06-17T10:09:46.150Z
- Weaknesses: CWE-74, CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: VulDB

## Description

A vulnerability was identified in SourceCodester Online Hotel Reservation System 1.0. Affected by this issue is some unknown functionality of the file /admin/edituser.php. The manipulation of the argument userid leads to sql injection. The attack may be initiated remotely. The exploit is publicly available and might be used.

(As written by CVE List.)

## Affected

- SourceCodester Online Hotel Reservation System: 1.0
- fabian online_hotel_reservation_system: 1.0

## Every score

- VulDB: CVSS:4.0 6.9 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- VulDB: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R`
- VulDB: CVSS:3.0 7.3 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R`
- VulDB: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/YoSheep/cve/blob/main/Online%20Hotel%20Reservation%20System%20In%20PHP%20With%20Source%20Code%20-%20SQL%20Injection%20in%20edituser.php.md> (exploit, third-party-advisory)
- <https://vuldb.com/?id.322104> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.322104> (permissions-required, signature, vdb-entry)
- <https://vuldb.com/?submit.641029> (third-party-advisory, vdb-entry)
- <https://vuldb.com/?submit.643116> (third-party-advisory, vdb-entry)
- <https://vuldb.com/?submit.643146> (third-party-advisory, vdb-entry)
- <https://www.sourcecodester.com/> (product)

## Sources

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

---

Page: https://cve.day/CVE-2025-9789 · Whole record: https://cve.day/CVE-2025-9789.json · Rebuilt by cve.day 2026-11-25T22:59:03.974Z
