gray-mueller / gray-mueller/full-stack-document-solution

Security Vulnerabilities in Multivendor Admin - Username Gap and Negative Values in Restaurant Parameters

Ouverte
#134 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
TypeScript
Étoiles
0
Forks
0
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

Describe the bug
When creating a new restaurant in the multivendor admin system, there are serious security vulnerabilities present. The system allows the acceptance of gaps in usernames and negative values in crucial parameters such as delivery time, minimum order, and sales tax, compromising the system's integrity.

To Reproduce
Steps to reproduce the behavior:

Log in to the multivendor admin system.
Navigate to the "Create New Restaurant" section.
Submit the form with a gap in the username field.
Observe that the system accepts the submission without displaying any error messages.
Submit the form with negative values for delivery time, minimum order, and sales tax.
Note that the system also accepts these negative values without proper validation.
Expected behavior

The system should disallow the submission of the form with gaps in the username field, displaying a clear error message.
The system should validate and reject the submission if negative values are provided for delivery time, minimum order, and sales tax, displaying appropriate error messages.
Screenshots
image

Desktop:

Browser: chrome

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

No files or tests are named. Start by reproducing the issue in the multivendor admin's Create New Restaurant form, then trace its validation for username, delivery time, minimum order, and sales tax. Done means gaps in usernames and negative parameter values are rejected with clear errors.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
typescript
Domaine
full-stack, security
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
Calme
Clarté
Plutôt claire
Accessibilité débutants
55/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.