{"items":[{"id":"NVI-00008211","kind":"vulnerability","title":"Shopper: Negative discount values accepted and propagated through order calculation pipeline","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-5vf4-452p-jjhf","CVE-2026-56831"],"plain_summary":"OSV carries this publisher advisory for shopper/framework. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 2.9.0 for shopper/framework. Confirm the publisher’s latest guidance.","source_ids":["sr-fa4ba134db93bc50fc55b40774ec117f"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-fa4ba134db93bc50fc55b40774ec117f","url":"https://github.com/advisories/GHSA-5vf4-452p-jjhf","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-5vf4-452p-jjhf","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:41:59.927Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-fa4ba134db93bc50fc55b40774ec117f"],"technology":"shopper/framework","known_exclusions":[],"conditions_summary":"## Summary\n\nThe Shopper Framework discount management functionality accepts negative discount values without server-side validation.\n\nIt was confirmed that negative fixed-amount discounts can be created through the administrative interface, persisted to the database, and subsequently processed by the cart/order calculation pipeline.\n\nThe application appears to assume that discount values are always positive but does not enforce this assumption during creation, storage, or calculation.\n\nAs a result, malformed discount records can influence financial calculations and produce unintended order totals.\n\n---\n\n## Affected Product\n\n**Package:** shopper/framework\n\n**Version Tested:** 2.8.1\n\n---\n\n## Vulnerability Type\n\n* Business Logic Vulnerability\n* Improper Input Validation (CWE-20)\n\n---\n\n## Description\n\nWhile reviewing the discount functionality, it was discovered that the application accepts negative discount values through the administrative interface.\n\nExample values tested:\n\n```text\n-50.00\n-99,999,999.00\n```\n\nThe application accepted these values without validation and stored them in the database.\n\nExample records observed in the `sh_discounts` table:\n\n```text\n1 | QCZ5Y3HESM | fixed_","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 2.9.0"]}],"null_published_at":"2026-10-31T22:13:22.834Z","source_updated_at":"2026-09-11T21:45:09.894Z","source_disclosed_at":"2026-09-11T21:28:00.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-10-31T21:41:59.927Z"}],"next_cursor":null,"snapshot_revision":"42594"}