Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. shopper/framework
  4. ›
  5. CVE-2026-56831

CVE-2026-56831: Shopper: Negative discount values accepted and propagated through order calculation pipeline

September 11, 2026

The Shopper Framework discount management functionality accepts negative discount values without server-side validation.

It 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.

The application appears to assume that discount values are always positive but does not enforce this assumption during creation, storage, or calculation.

As a result, malformed discount records can influence financial calculations and produce unintended order totals.


References

  • github.com/advisories/GHSA-5vf4-452p-jjhf
  • github.com/shopperlabs/shopper/security/advisories/GHSA-5vf4-452p-jjhf
  • nvd.nist.gov/vuln/detail/CVE-2026-56831

Code Behaviors & Features

Detect and mitigate CVE-2026-56831 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2.9.0

Fixed versions

  • 2.9.0

Solution

Upgrade to version 2.9.0 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation

Source file

packagist/shopper/framework/CVE-2026-56831.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:42 +0000.