CVE-2026-5812
SourceCodester Pharmacy Product Management System POST Parameter add-sales.php logic error
- State
- Published
- Severity
- 5.3 Medium
- Published
- Apr 8, 2026
- Updated
- Apr 9, 2026
- Reserved
- Apr 8, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 5.3 Medium | 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 | VulDB |
| 3.1 | 5.4 Medium | 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 | VulDB |
| 3.0 | 5.4 Medium | 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 | VulDB |
| 2.0 | 5.5 Medium | AV:N/AC:L/Au:S/C:N/I:P/A:P/E:POC/RL:ND/RC:UR | VulDB |
Weaknesses
- CWE-840 Business Logic Errors
Affected Products
| Product | Versions |
|---|---|
Pharmacy Product Management SystemSourceCodester |
|
References
- VDB-356260 | SourceCodester Pharmacy Product Management System POST Parameter add-sales.php logic errorvdb-entrytechnical-description
- VDB-356260 | CTI Indicators (IOB, IOC, IOA)signaturepermissions-required
- Submit #787680 | SourceCodester Pharmacy Product Management System 1.0 Business Logic Errorsthird-party-advisory
- https://github.com/meifukun/Web-Security-PoCs/blob/main/Pharmacy-Product-Management-System/Logic-AddSales-NegativeQty.mdexploit
- https://www.sourcecodester.com/product
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.