# CVE-2026-140255: code-projects POS Pharmacy System login.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.37%, higher than 33% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-12-01T08:00:20.497Z
- Modified: 2026-12-01T08:17:14.313Z
- Weaknesses: CWE-74, CWE-89
- Assigned by: VulDB

## Description

A vulnerability has been found in code-projects POS Pharmacy System 1.0. The impacted element is an unknown function of the file login.php. The manipulation of the argument username/password leads to sql injection. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used.

(As written by CVE List.)

## Affected

- code-projects POS Pharmacy 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:C`
- 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:C`
- VulDB: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:C`

## References

- <https://github.com/jasperjjhe/php-mini-project-advisories/blob/main/A1-pos-pharmacy-login-sqli.md> (exploit)
- <https://vuldb.com/vuln/446850> (technical-description, vdb-entry)
- <https://vuldb.com/vuln/446850/cti> (permissions-required, signature)
- <https://vuldb.com/cve/CVE-2026-140255> (third-party-advisory)
- <https://vuldb.com/submit/1085346> (third-party-advisory)
- <https://code-projects.org/> (product)

## Sources

- CVE List: [CVE-2026-140255](https://www.cve.org/CVERecord?id=CVE-2026-140255), CVE Terms of Use, modified 2026-12-01
- NVD: [CVE-2026-140255](https://nvd.nist.gov/vuln/detail/CVE-2026-140255), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-140255 · Whole record: https://cve.day/CVE-2026-140255.json · Rebuilt by cve.day 2026-12-01T08:32:39.870Z
