{"id":"CVE-2022-0689","published":"2022-02-19T15:45:10Z","modified":"2024-08-02T23:40:03Z","title":"Use multiple time the one-time coupon in microweber/microweber","vendor":"microweber","product":"microweber/microweber","tier":"tail","description":{"text":"Use multiple time the one-time coupon in Packagist microweber/microweber prior to 1.2.11.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01049,"percentile":0.65041,"provenance":"source"},"cwes":[{"id":"CWE-840","name":"Business Logic Errors"}],"references":[{"url":"https://huntr.dev/bounties/fa5dbbd3-97fe-41a9-8797-2e54d9a9c649","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/microweber/microweber/commit/c3c25ae6c421bb4a65df9e0035edcc2f75594a04","tags":["x_refsource_MISC"]}],"priority":{"score":16.7,"factors":[{"name":"EPSS percentile","points":13.01},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"microweber","affectedVersions":[{"vendor":"microweber","product":"microweber/microweber","versions":[">= unspecified, < 1.2.11"]}],"affected":[{"ecosystem":"Packagist","package":"microweber/microweber","vulnerableRanges":["<1.2.11"],"patched":["1.2.11"],"from":["GHSA-3p9j-442x-hjp7"],"provenance":"source"}],"summary":{"text":"The Microweber website builder (microweber/microweber, a Packagist package) prior to version 1.2.11 fails to enforce single use of one-time coupon codes, so a coupon can be redeemed repeatedly. An attacker can exploit this over the network with no privileges and no user interaction, and the flaw is a business logic error that allows integrity impact to the coupon-based discount process.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:24:08Z"},"euvd":{"id":"EUVD-2022-0795","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-microweber-microweber-cve-2022-0689","children":[{"from":"CVE-2022-0689","to":"CVE-2022-0688","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/MicroweberPackages/Cart/CartManager.php"],"commits":["https://github.com/microweber/microweber/commit/a41f0fddaf08ff12b2b82506b1ca9490c93ab605","https://github.com/microweber/microweber/commit/c3c25ae6c421bb4a65df9e0035edcc2f75594a04"],"basis":"shared function","functions":["remove_item"]},{"kind":"similar","provenance":"machine","score":0.42,"basis":"same product + CWE + description similarity"}]},{"from":"CVE-2022-0689","to":"CVE-2022-0762","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/MicroweberPackages/Cart/CartManager.php"],"commits":["https://github.com/microweber/microweber/commit/c3c25ae6c421bb4a65df9e0035edcc2f75594a04","https://github.com/microweber/microweber/commit/76361264d9fdfff38a1af79c63141455cc4d36e3"],"basis":"shared function","functions":["update_cart"]}]},{"from":"CVE-2022-0689","to":"CVE-2023-5861","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/MicroweberPackages/Cart/CartManager.php"],"commits":["https://github.com/microweber/microweber/commit/c3c25ae6c421bb4a65df9e0035edcc2f75594a04","https://github.com/microweber/microweber/commit/6ed7ebf1631dd8f0780caa4151a5538f3b227d26"],"basis":"shared function","functions":["update_cart"]}]},{"from":"CVE-2022-0689","to":"CVE-2023-6566","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/MicroweberPackages/Cart/CartManager.php","src/MicroweberPackages/Checkout/CheckoutManager.php"],"commits":["https://github.com/microweber/microweber/commit/c3c25ae6c421bb4a65df9e0035edcc2f75594a04","https://github.com/microweber/microweber/commit/eee0c6771e152022a91089a547272c8a542bb74e"],"basis":"shared function","functions":["checkout","update_cart"]}]},{"from":"CVE-2022-0689","to":"CVE-2023-6832","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/MicroweberPackages/Checkout/CheckoutManager.php","userfiles/modules/shop/coupons/functions.php"],"commits":["https://github.com/microweber/microweber/commit/c3c25ae6c421bb4a65df9e0035edcc2f75594a04","https://github.com/microweber/microweber/commit/890e9838aabbc799ebefcf6b20ba25e0fd6dbfee"],"basis":"shared function","functions":["checkout","coupon_apply"]}]}]}}