# CVE-2021-38840: SQL Injection can occur in Simple Water Refilling Station Management System 1.0 via the waterrefilling/classes/Login.php username parameter.

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- 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): 6.32%, higher than 94% of CVEs (2026-11-30)
- Public exploit code or proof of concept: 3 links below, marked "exploit"
- Published: 2021-09-07T05:12:14.000Z
- Modified: 2026-06-17T04:02:45.247Z
- Weaknesses: CWE-89
- Assigned by: mitre

## Description

SQL Injection can occur in Simple Water Refilling Station Management System 1.0 via the water_refilling/classes/Login.php username parameter.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- simple_water_refilling_station_management_system_project simple_water_refilling_station_management_system: 1.0

## Every score

- 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`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://www.exploit-db.com/exploits/50205> (exploit, third-party-advisory, vdb-entry)
- <https://www.exploit-db.com/exploits/50204> (exploit, third-party-advisory, vdb-entry)
- <https://github.com/nu11secur1ty/CVE-mitre/tree/main/CVE-2021-38840> (exploit, third-party-advisory)
- <https://www.sourcecodester.com/php/14906/simple-water-refilling-station-management-system-php-free-source-code.html> (product, third-party-advisory)
- <https://www.sourcecodester.com/users/tips23> (third-party-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2021-38840 · Whole record: https://cve.day/CVE-2021-38840.json · Rebuilt by cve.day 2026-11-25T22:58:03.665Z
