Skip to main content

Bagisto CVE-2025-62414

MEDIUM
Basic XSS (CWE-80)
2025-10-16 security-advisories@github.com
4.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain admin-panel access
  2. Delivery
    Submit crafted customer with XSS payload
  3. Exploit
    Payload stored in database
  4. Execution
    Admin views customer record
  5. Persist
    Script executes in admin browser
  6. Impact
    Steal session / perform admin actions

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization HTML tag escaping
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated account with access to the admin panel's 'Create New Customer' form (reached via Sales > Orders > create customer); the attacker injects script into the first_name and last_name input fields, which are stored without output encoding. Execution is NOT immediate or attacker-controlled: it is gated by a second user (per UI:R) - specifically an admin or other viewer later opening the stored customer record in a grid, listing, or detail view - so the payload only fires when such a victim views injected data. Limiting factors: requires valid admin/backend credentials (per the CVSS PR:H; the advisory's 'limited privilege' claim is unverified), requires victim interaction (viewing the record), and affects only Bagisto 2.3.7 and earlier (fixed in 2.3.8).

Impact

This is a stored Cross-Site Scripting flaw (CWE-80) in Bagisto 2.3.7's admin 'Create New Customer' feature, and the signals consistently point to a moderate, not critical, priority. The CVSS 3.1 score is 4.8 (Medium) with vector AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N: although the attack vector is network, exploitation requires an authenticated privileged account (PR:H) with access to the admin create-customer form AND a victim to later view the injected record (UI:R), which materially constrains real-world risk. EPSS is low at 0.28% (19th percentile), indicating a low modeled probability of near-term mass exploitation, and the CVE is NOT on the CISA KEV list - there is no evidence of active exploitation. Publicly available exploit code exists (the GHSA advisory includes a working PoC payload), so the barrier to weaponization against a known Bagisto instance is low, but PoC availability is distinct from active exploitation. Note a tension worth verifying: the official GHSA advisory describes the attacker as having 'limited privilege' and labels this stored XSS 'high severity,' whereas the assigned CVSS uses PR:H (high privilege) and yields only Medium - the practical privilege needed to reach the admin create-customer form should be confirmed with the vendor, since a lower privilege requirement would raise real risk. Overall: a legitimate issue to patch, but a privilege-and-interaction-gated stored XSS rather than an unauthenticated internet-facing emergency.

Exploit ScenarioDerived

An attacker who already has access to the Bagisto admin panel's create-customer form submits a customer record with a malicious payload (e.g. "><svg/onload=prompt(document.domain)>) in the first_name/last_name fields, which is stored unsanitized. When another administrator later opens the customer grid or detail view, the script executes in that admin's authenticated browser session, enabling cookie/session theft or admin-level actions on their behalf. A public PoC with this exact payload is documented in the vendor's GHSA advisory.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 19, 2026

Stored cross-site scripting in Bagisto 2.3.7's admin 'Create New Customer' form lets an authenticated backend user inject JavaScript into the first_name and last_name fields, which is saved to the database and later executes when an admin or other viewer opens the customer record in a grid, listing, or detail view. Successful exploitation can steal session tokens or perform admin-level actions in the victim's browser, though it requires a second user to view the injected data (UI:R) and valid backend access to the create-customer form. Publicly available exploit code exists, but EPSS is 0.28% (19th percentile) and there is no CISA KEV confirmation; Bagisto 2.3.8 contains the vendor fix.

RemediationAI

Vendor-released patch: upgrade Bagisto to 2.3.8 (the Composer package composer/bagisto/bagisto fixes the issue in 2.3.8) and follow the GHSA-r9xj-mvqf-jm7w advisory at https://github.com/bagisto/bagisto/security/advisories/GHSA-r9xj-mvqf-jm7w. If immediate upgrade is not possible, restrict access to the admin panel to trusted networks or IPs, which reduces exposure but does not eliminate the risk from insider or compromised accounts; review and sanitize existing customer first_name and last_name records for HTML/script content; and consider a Content Security Policy that blocks inline script execution, with the trade-off of potential breakage in admin UI features. Because exploitation requires an authenticated backend user plus a second user viewing the record, also enforce least privilege on who can create customers and monitor admin accounts for suspicious activity.

Affected Packages

composer bagisto/bagisto fix: 2.3.8

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in composer

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Bagisto is a Laravel-based open-source eCommerce platform whose admin panel renders customer records through HTML/Blade templates. The flaw is CWE-80 (improper neutralization of script-related HTML tags), a basic XSS variant: the create-customer workflow reachable via Sales > Orders stores first_name and last_name without sanitization, and later grid/detail views interpolate those values into HTML without output encoding. CPE data identifies Webkul Bagisto 2.3.7; the advisory's package range marks <=2.3.7 vulnerable and 2.3.8 fixed. Because the payload is persisted, execution is deferred until a victim opens the record, matching the assessed CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N vector's scope change and user-interaction requirement.

Know when Bagisto gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 4.8 MEDIUM
AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 5.4 MEDIUM

Network-accessible admin form but needs an authenticated backend account (PR:L per advisory's 'limited privilege'), AC:L; stored XSS fires only when a victim views data (UI:R) and runs in their browser (S:C), with limited C/I impact and no availability effect.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionNVD

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.

Threat Intelligence Overview

EPSS Score
0.3%
Top 81% exploitable
Prevalence
Low
niche open-source Laravel eCommerce platform, limited enterprise footprint
Exploit
POC
Public exploit code exists
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

Affected Products (CPE)NVD

cpe:2.3:a:webkul:bagisto:2.3.7:*:*:*:*:*:*:*
CVE-2026-21448 CRITICAL POC
9.8 Jan 02

Bagisto eCommerce platform before 2.3.10 is vulnerable to server-side template injection (SSTI) through customer address

CVE-2026-21446 CRITICAL POC
9.8 Jan 02

Bagisto eCommerce platform (2.3 branch before 2.3.10) leaves installation API routes active after setup, allowing unauth

CVE-2026-21449 HIGH POC
8.8 Jan 02

Bagisto eCommerce platform versions before 2.3.10 suffer from server-side template injection through user-controllable f

CVE-2023-33570 HIGH POC
8.8 Jun 28

Bagisto v1.5.1 is vulnerable to Server-Side Template Injection (SSTI). Rated high severity (CVSS 8.8), this vulnerabilit

CVE-2019-16403 HIGH POC
8.8 Sep 18

In Webkul Bagisto before 0.1.5, the functionalities for customers to change their own values (such as address, review, o

CVE-2019-14933 HIGH POC
8.8 Aug 11

Bagisto 0.1.5 allows CSRF under /admin URIs. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable,

CVE-2026-9506 HIGH POC
8.7 Jun 08

Arbitrary file read in Bagisto v2.4.1 allows unauthenticated remote attackers to retrieve sensitive files outside the we

CVE-2026-21451 HIGH POC
8.4 Jan 02

Stored XSS in Bagisto's CMS page editor allows authenticated attackers to bypass input sanitization by crafting maliciou

CVE-2026-21447 HIGH POC
7.1 Jan 02

Bagisto is an open source laravel eCommerce platform. [CVSS 7.1 HIGH]

CVE-2025-62417 HIGH POC
7.1 Oct 16

CSV formula injection in Bagisto through 2.3.7 allows a user who can create or edit product data to store spreadsheet fo

CVE-2025-62416 MEDIUM POC
6.8 Oct 16

Server-side template injection in Bagisto 2.3.7 lets an authenticated backend user with product-creation privileges inje

CVE-2024-27499 MEDIUM POC
6.5 Mar 01

Bagisto v1.5.1 is vulnerable for Cross site scripting(XSS) via png file upload vulnerability in product review option. R

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy