CVE-2026-5812
published medium CVSS 4.0 · 5.3SourceCodester Pharmacy Product Management System POST Parameter add-sales.php logic error
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SourceCodester | — | Pharmacy Product Management System1.0 | Affected | Not stated | VulDB |
Description
A security flaw has been discovered in SourceCodester Pharmacy Product Management System 1.0. This affects an unknown part of the file add-sales.php of the component POST Parameter Handler. Performing a manipulation of the argument txtqty results in business logic errors. It is possible to initiate the attack remotely. The exploit has been released to the public and may be used for attacks.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.4 | medium | VulDB · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L/E:P/RL:X/RC:R | — |
| 3.0 | 5.4 | medium | VulDB · cna | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L/E:P/RL:X/RC:R | — |
| 2.0 | 5.5 | medium | VulDB · cna | AV:N/AC:L/Au:S/C:N/I:P/A:P/E:POC/RL:ND/RC:UR | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| SourceCodester | Pharmacy Product Management System | 1.0 (affected) | VulDB · cna |
Weaknesses
1- CWE-840 Business Logic Errors
References
5- https://github.com/meifukun/Web-Security-PoCs/blob/main/Pharmacy-Product-Management-System/Logic-AddSales-NegativeQty.md
- Submit #787680 | SourceCodester Pharmacy Product Management System 1.0 Business Logic Errors https://vuldb.com/submit/787680
- VDB-356260 | SourceCodester Pharmacy Product Management System POST Parameter add-sales.php logic error https://vuldb.com/vuln/356260
- VDB-356260 | CTI Indicators (IOB, IOC, IOA) https://vuldb.com/vuln/356260/cti
- https://www.sourcecodester.com/
Provider assertions
2VulDB · cna
SourceCodester Pharmacy Product Management System POST Parameter add-sales.php logic error
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 190a353cf5ba4029a23ec533921c5c2259999ac1a908169ceb473f2ae2877985
- Ingested
- 23 Sep 2026, 09:23:35 UTC
- Source record
- Official CVE record