6.9medium
bagisto - Cross Site Scripting (XSS) in Create New Customer
- Severity
- 6.9medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.28% (higher than 21% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-r9xj-mvqf-jm7w
Description
Bagisto is an open source laravel eCommerce platform. In Bagisto v2.3.7, the “Create New Customer” feature (in the admin panel) is vulnerable to Cross-Site Scripting (XSS). An attacker with access to the admin create-customer form can inject malicious JavaScript payloads into certain input fields. These payloads may later execute in the context of an admin’s browser or another user viewing the customer data, enabling session theft or admin-level actions. This vulnerability is fixed in 2.3.8.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| bagisto bagisto | < 2.3.8 | CVE List |
| bagisto/bagisto (Packagist) | before 2.3.8 | GitHub Advisory Database |
| webkul bagisto | 2.3.7 | NVD |
All scores
| GitHub_M | 6.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N |
| GitHub | 6.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N |
| NVD | 4.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
Classification
What each source says
CVE List
Bagisto is an open source laravel eCommerce platform. In Bagisto v2.3.7, the “Create New Customer” feature (in the admin panel) is vulnerable to Cross-Site Scripting (XSS). An attacker with access to the admin create-customer form can inject malicious JavaScript payloads into certain input fields. These payloads may later execute in the context of an admin’s browser or another user viewing the customer data, enabling session theft or admin-level actions. This vulnerability is fixed in 2.3.8.
GitHub Advisory Database
Summary
In Bagisto v2.3.7, the “Create New Customer” feature (in the admin panel) is vulnerable to reflected / stored Cross-Site Scripting (XSS). An attacker with access to the admin create-customer form can inject malicious JavaScript payloads into certain input fields. These payloads may later execute in the context of an admin’s browser or another user viewing the customer data, enabling session theft or admin-level actions.
Details
The vulnerability arises because certain input fields are not properly sanitized or escaped when rendering customer data in the admin UI. The form data is stored in the database (i.e. it is stored XSS), and later when customer records are displayed (e.g. in a grid, detail view, or listing), the input is interpolated into HTML without encoding or filtering.
PoC
Navigate to sales orders, and create a new customer.
image
Enter the payload "><svg/onload=prompt(document.domain)> to the first_name and last_name.
image
Scripts were triggered.
image
image
Impact
Stored XSS vulnerability — malicious script persisted in database and executed when viewing the data. An attacker (with limited privilege) could inject JavaScript that runs in the browser of an admin or user who views injected customer records. The script can steal session cookies, perform actions on behalf of admin, escalate privileges, or pivot into further attacks. In an e-commerce admin system, this is high severity due to potential access to customer data, order management, or site configuration.
NVD (es)
Bagisto es una plataforma de eCommerce laravel de código abierto. En Bagisto v2.3.7, la función 'Crear nuevo cliente' (en el panel de administración) es vulnerable a cross-site scripting (XSS). Un atacante con acceso al formulario de creación de clientes del administrador puede inyectar cargas útiles de JavaScript maliciosas en ciertos campos de entrada. Estas cargas útiles pueden ejecutarse más tarde en el contexto del navegador de un administrador o de otro usuario que vea los datos del cliente, lo que permite el robo de sesión o acciones a nivel de administrador. Esta vulnerabilidad está corregida en 2.3.8.
References
| https://github.com/bagisto/bagisto/security/advisories/GHSA-r9xj-mvqf-jm7w | exploit, vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-62414 | advisory | |
| https://github.com/bagisto/bagisto | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-62414 changed 2025-10-17 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-r9xj-mvqf-jm7w changed 2025-10-16 | CC-BY-4.0 |
| NVD | CVE-2025-62414 changed 2026-10-19 | Public domain |