{"id":"CVE-2020-11007","aliases":["CVE-2020-11007","GHSA-w8rc-pgxq-x2cj"],"related":[],"kind":"vulnerability","state":"published","title":"Negative charge in shopping cart possible in Shopizer","summary":"In Shopizer before version 2.11.0, using API or Controller based versions negative quantity is not adequately validated hence creating incorrect shopping cart and order total. This vulnerability makes it possible to create a negative total in the shopping cart. This has been patched in version 2.11.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In Shopizer before version 2.11.0, using API or Controller based versions negative quantity is not adequately validated hence creating incorrect shopping cart and order total. This vulnerability makes it possible to create a negative total in the shopping cart. This has been patched in version 2.11.0.","source":"cvelist"},{"lang":"en","text":"### Impact\nUsing API or Controller based versions negative quantity is not adequately validated hence creating incorrect shopping cart and order total. \n\n### Patches\nAdding a back-end verification to check that quantity parameter isn't negative. If so, it is set to 1. Patched in 2.11.0\n\n### Workarounds\nWithout uprading, it's possible to just apply the fixes in the same files it's done for the patch. Or you use javax constraint validation on the quantity parameter.\n\n### References\n[Input Validation](https://cheatsheetseries.owasp.org/cheatsheets/Input_Validation_Cheat_Sheet.html)\n[Using bean validation constraint](https://javaee.github.io/tutorial/bean-validation002.html)\n[Commits with fixes](https://github.com/shopizer-ecommerce/shopizer/commit/929ca0839a80c6f4dad087e0259089908787ad2a)\nCVE Details below : \n[Mitre](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-11007)\n[NVD](https://nvd.nist.gov/vuln/detail/CVE-2020-11007)\n\n### Credits\nFound and solved by Yannick Gosset from Aix-Marseille University cybersecurity\nmaster program supervised by Yassine Ilmi","format":"markdown","source":"ghsa"},{"lang":"es","text":"En Shopizer versiones anteriores a 2.11.0, al usar versiones basadas en API o Controlador una cantidad negativa no es comprobada adecuadamente, por lo tanto, crea un carrito de compras y el total del pedido incorrecto. Esta vulnerabilidad hace posible crear un total negativo en el carrito de compras. Esto ha sido parcheado en la versión 2.11.0.","source":"nvd"}],"published":"2020-04-16T18:20:12.000Z","modified":"2026-07-08T06:00:49.889Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":6.5,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:N/I:P/A:N","score":4,"rating":"MEDIUM"}],"cwes":["CWE-20"],"affected":[{"ranges":[{"version":"< 2.11.0","status":"affected"}],"vendor":"shopizer-ecommerce","product":"shopizer","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.11.0"}],"ecosystem":"Maven","package":"com.shopizer:sm-core-model","purl":"pkg:maven/com.shopizer/sm-core-model","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.11.0"}],"vendor":"shopizer","product":"shopizer","cpe":"cpe:2.3:a:shopizer:shopizer:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/shopizer-ecommerce/shopizer/security/advisories/GHSA-w8rc-pgxq-x2cj","tags":["third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/shopizer-ecommerce/shopizer/commit/929ca0839a80c6f4dad087e0259089908787ad2a","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-11007","tags":["advisory"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-11007","url":"https://www.cve.org/CVERecord?id=CVE-2020-11007","licence":"CVE Terms of Use","modified":"2024-08-04T11:21:14.408Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-w8rc-pgxq-x2cj","url":"https://github.com/advisories/GHSA-w8rc-pgxq-x2cj","licence":"CC-BY-4.0","modified":"2026-07-08T06:00:49.889Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-11007","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-11007","licence":"Public domain","modified":"2026-06-17T02:48:50.800Z"}],"updatedAt":"2026-11-25T22:57:52.098Z","epss":{"score":0.00852,"percentile":0.59356,"date":"2026-12-01T12:00:22.000Z"}}