> CVE-2026-56831 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2026-09-15 18:17
MODIFIED
2026-09-15 18:17
CVSS_SCORE V3
6.5
EPSS (Prob. Exploit)
0.43%
Top 63.2%
DATA SOURCES:
NVD đź”— 2026-09-15 CWE MITRE đź”— 2026-10-01 FIRST EPSS đź”— 2026-10-25 GITHUB đź”— 2026-09-22 OSV đź”— 2026-09-22

> DESCRIPTION

Shopper is a Headless e-commerce Admin Panel. Prior to 2.9.0, the /cpanel/discounts administrative interface accepts negative fixed_amount discount values, persists them in sh_discounts, and passes them through vendor/shopper/cart/src/Discounts/DiscountCalculator.php and vendor/shopper/cart/src/Pipelines/Calculate.php without enforcing a positive-value invariant. Because the calculation subtracts discountTotal from the subtotal, a negative discount increases the resulting order total instead of reducing it. Malformed discount records can therefore cause incorrect pricing and financial data integrity failures, although the advisory does not establish a customer-facing exploitation path. This issue is fixed in version 2.9.0.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
EXPLOITABILITY
2.8
IMPACT
3.6

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
Low (L)
Authentifié avec compte utilisateur basique
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
None (N)
Aucune divulgation d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
None
Aucune divulgation d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
None
Aucune interruption de service

> WEAKNESSES

CWE-20

> CWE DETAILED DESCRIPTIONS

CWE-20: Improper Input Validation - The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.

> GITHUB SECURITY ADVISORY

GHSA-5vf4-452p-jjhf MODERATE

Shopper: Negative discount values accepted and propagated through order calculation pipeline

AFFECTED PACKAGES:
COMPOSER / shopper/framework
< 2.9.0
Fixed in: 2.9.0

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

Shopper: Negative discount values accepted and propagated through order calculation pipeline

AFFECTED PACKAGES:
Unknown / Unknown
100 versions affected
ALIASES:
GHSA-5vf4-452p-jjhf

> HISTORIQUE DES MODIFICATIONS

Première apparition
15/09/2026 18:17
Source: NVD
📊 ENRICHISSEMENT 01/10/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-20: Improper Input Validation - The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process...
Total des modifications: 1 Dernière mise à jour: 3 weeks ago

> REFERENCES

https://github.com/shopperlabs/shopper/commit/967e616281ded1a0050d9102858ecd7dd7...
https://github.com/shopperlabs/shopper/pull/528
https://github.com/shopperlabs/shopper/releases/tag/v2.9.0
https://github.com/shopperlabs/shopper/security/advisories/GHSA-5vf4-452p-jjhf
« BACK_TO_HOME