# CVE-2026-4781: SourceCodester Sales and Inventory System HTTP GET Parameter update_purchase.php sql injection

- Severity: Medium 5.3 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/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.34%, higher than 29% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-24T23:11:35.131Z
- Modified: 2026-06-17T10:57:12.550Z
- Weaknesses: CWE-74, CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## Description

A flaw has been found in SourceCodester Sales and Inventory System 1.0. The affected element is an unknown function of the file update_purchase.php of the component HTTP GET Parameter Handler. Executing a manipulation of the argument sid can lead to sql injection. The attack may be performed from remote. The exploit has been published and may be used.

(As written by CVE List.)

## Affected

- SourceCodester Sales and Inventory System: 1.0
- ahsanriaz26gmailcom sales_and_inventory_system: 1.0

## Every score

- VulDB: CVSS:4.0 5.3 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- 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/E:P/RL:X/RC:R`
- VulDB: CVSS:3.0 6.3 Medium `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R`
- VulDB: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR`
- 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/meifukun/Web-Security-PoCs/blob/main/Inventory-System/SQLi-UpdatePurchase-sid.md> (exploit, patch, third-party-advisory)
- <https://vuldb.com/?id.352799> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.352799> (permissions-required, signature, vdb-entry)
- <https://vuldb.com/?submit.775174> (third-party-advisory, vdb-entry)
- <https://www.sourcecodester.com/> (product)

## Sources

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

---

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