{"id":"CVE-2026-30575","aliases":["CVE-2026-30575"],"related":[],"kind":"vulnerability","state":"published","title":"A Business Logic vulnerability exists in SourceCodester Pharmacy Product Management System 1.0 in the add-stock.php file.","summary":"A Business Logic vulnerability exists in SourceCodester Pharmacy Product Management System 1.0 in the add-stock.php file. The application fails to validate the \"txtqty\" parameter during stock entry, allowing negative values to be processed. This causes the system to decrease the inventory level instead of increasing it, leading to inventory corruption and potential Denial of Service by depleting stock records.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A Business Logic vulnerability exists in SourceCodester Pharmacy Product Management System 1.0 in the add-stock.php file. The application fails to validate the \"txtqty\" parameter during stock entry, allowing negative values to be processed. This causes the system to decrease the inventory level instead of increasing it, leading to inventory corruption and potential Denial of Service by depleting stock records.","source":"cvelist"},{"lang":"es","text":"Una vulnerabilidad de lógica de negocio existe en SourceCodester Pharmacy Product Management System 1.0 en el archivo add-stock.PHP. La aplicación no valida el parámetro ’txtqty’ durante la entrada de stock, permitiendo que se procesen valores negativos. Esto provoca que el sistema disminuya el nivel de inventario en lugar de aumentarlo, lo que lleva a la corrupción del inventario y a una posible denegación de servicio al agotar los registros de stock.","source":"nvd"}],"published":"2026-03-27T00:00:00.000Z","modified":"2026-11-11T19:10:00.360Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-20","CWE-1284"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","version":"1.0"}],"vendor":"senior-walter","product":"web-based_pharmacy_product_management_system","cpe":"cpe:2.3:a:senior-walter:web-based_pharmacy_product_management_system:1.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/meifukun/Web-Security-PoCs/blob/main/Pharmacy-Product-Management-System/Logic-AddStock-NegativeQty.md","tags":["exploit","vendor-advisory"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-03-27T18:58:44.115Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-30575","url":"https://www.cve.org/CVERecord?id=CVE-2026-30575","licence":"CVE Terms of Use","modified":"2026-03-27T19:00:29.848Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-30575","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-30575","licence":"Public domain","modified":"2026-11-11T19:10:00.360Z"}],"updatedAt":"2026-11-25T22:59:17.407Z","epss":{"score":0.00465,"percentile":0.41924,"date":"2026-12-01T12:00:22.000Z"}}