# CVE-2026-7283: SourceCodester Pharmacy Sales and Inventory System ajax.php save_expired sql injection

- Severity: Medium 5.1 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/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.27%, higher than 20% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-28T14:15:10.794Z
- Modified: 2026-10-26T20:10:00.160Z
- Weaknesses: CWE-74, CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## Description

A security flaw has been discovered in SourceCodester Pharmacy Sales and Inventory System 1.0. This impacts the function save_expired of the file /ajax.php?action=save_expired. The manipulation of the argument ID results in sql injection. It is possible to launch the attack remotely. The exploit has been released to the public and may be used for attacks.

(As written by CVE List.)

## Affected

- SourceCodester Pharmacy Sales and Inventory System: 1.0

## Every score

- VulDB: CVSS:4.0 5.1 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- VulDB: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R`
- VulDB: CVSS:3.0 4.7 Medium `CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R`
- VulDB: CVSS:2.0 5.8 Medium `AV:N/AC:L/Au:M/C:P/I:P/A:P/E:POC/RL:ND/RC:UR`

## References

- <https://github.com/CDipper/CVE-Test/issues/1> (exploit, issue-tracking)
- <https://vuldb.com/vuln/359941> (technical-description, vdb-entry)
- <https://vuldb.com/vuln/359941/cti> (permissions-required, signature)
- <https://vuldb.com/submit/803019> (third-party-advisory)
- <https://www.sourcecodester.com/> (product)

## Sources

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

---

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