CVE-2026-60120

Bagisto < 2.4.4 Stored XSS via CSTI in create.blade.php

Published Jul 9, 2026 CVSS 4.0 · 5.1 Medium EPSS < 1% KEV · Not listed
Description
Bagisto before 2.4.4 contains a stored cross-site scripting vulnerability via client-side template injection that allows unauthenticated attackers to execute arbitrary JavaScript in administrator browsers by registering a customer account with malicious payload in the first or last name field. The create.blade.php template renders customer name fields without the Vue.js v-pre directive, causing Vue.js to evaluate stored template expressions as live JavaScript when an administrator opens the Create Order page for the affected customer.

Analysis

AI-generated

Technical impact

Bagisto’s stored cross‑site scripting flaw (CWE‑79) is caused by client‑side template injection in the create.blade.php file. By registering a malicious first or last name that contains a Vue.js expression, the expression is rendered unescaped. When an administrator opens the Create Order page for the affected customer, Vue.js evaluates the expression as live JavaScript, allowing the attacker to run arbitrary code in the administrator's browser.

Affected Systems

The vulnerability affects Webkul's Bagisto e‑commerce platform, for all releases below version 2.4.4. The official patch is provided in the 2.4.4 release, which adds the Vue.js escapes the payload. Sites running older versions of Bagisto are at risk if they allow customer registration and administrators use the front‑end order interface.

Risk and Exploitability

The CVSS score of 5.1 indicates moderate severity. An attacker only needs to create a customer account; no authentication is required to inject code. Exploitation requires an administrator to view the order‑creation page, limiting impact to environments where admin staff use the front‑end interface. The EPSS score of < 1% shows a very low probability of exploitation, and the vulnerability is not listed in the CISA KEV catalog.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Bagisto to version 2.4.4 or newer to obtain the vendor‑supplied fix that protects the template rendering of customer names.
  • If an upgrade is not immediately possible, modify create.blade.php to add the Vue.js v‑pre directive around the rendered name fields or otherwise escape any template expressions before rendering.
  • Disable public customer registration temporarily or limit it to verified users until the environment can be patched, preventing the injection of malicious payloads through the name fields.

Generated by OpenCVE AI on August 3, 2026 at 04:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Webkul
Webkul bagisto
CPEs cpe:2.3:a:webkul:bagisto:*:*:*:*:*:*:*:*
Vendors & Products Webkul
Webkul bagisto
Type Values Removed Values Added
First Time appeared Bagisto
Bagisto bagisto
Vendors & Products Bagisto
Bagisto bagisto
Type Values Removed Values Added
Description Bagisto before 2.4.4 contains a stored cross-site scripting vulnerability via client-side template injection that allows unauthenticated attackers to execute arbitrary JavaScript in administrator browsers by registering a customer account with malicious payload in the first or last name field. The create.blade.php template renders customer name fields without the Vue.js v-pre directive, causing Vue.js to evaluate stored template expressions as live JavaScript when an administrator opens the Create Order page for the affected customer.
Title Bagisto < 2.4.4 Stored XSS via CSTI in create.blade.php
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:L'}

cvssV4_0

{'score': 5.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 8, 2026, 2:07 PM
Reserved
Jul 8, 2026, 1:27 PM
Status
Deferred
Published
Jul 9, 2026, 9:16 PM
Modified
Oct 25, 2026, 5:10 PM