Skip to main content

Bagisto CVE-2026-6745

| EUVDEUVD-2026-24243 LOW
Cross-site Scripting (XSS) (CWE-79)
2026-04-21 VulDB GHSA-65fp-7g2v-658r
2.0
CVSS 4.0 · NVD
View

Attack ChainAIDerived

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

  1. Recon
    Gain legitimate or compromised admin credentials
  2. Delivery
    Access Custom Scripts Handler component
  3. Exploit
    Inject malicious JavaScript into script field
  4. Install
    Store malicious script
  5. C2
    Victim visits page executing custom script
  6. Execute
    Browser executes injected code
  7. Impact
    Session token/credential theft or unauthorized action performed

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 an authenticated user account with access to the Custom Scripts Handler component (PR:L per CVSS vector), typically an administrator or privileged user. The injected malicious script must be stored via the Custom Scripts Handler and then accessed by a victim user who interacts with (clicks on, views, or engages with) a page that triggers execution of the custom script (UI:P per CVSS vector). The vulnerability does not require special non-default configuration; if the Custom Scripts Handler feature is enabled in the Bagisto installation (default in standard deployments), the attack surface exists. However, exploitation is limited by: (1) requirement for authenticated access, eliminating opportunistic remote exploitation; (2) user interaction requirement, preventing fully automated exploitation; (3) scope of impact limited to user session integrity (VI:L), not system-level code execution; (4) script injection is server-side but execution context is client-side, limiting privilege escalation.

Impact

CVSS score of 5.1 with PR:L and UI:P requirements significantly reduces real-world risk compared to unauthenticated, no-interaction vectors. However, several signals warrant attention: public exploit code availability (E:P) increases practical exploitation likelihood; authentication requirement (PR:L) limits attacker scope to users with legitimate access or compromised accounts; user interaction requirement (UI:P) means the attack requires victim click-through, typical of stored XSS. The integrity impact (VI:L) suggests session hijacking or credential theft rather than system compromise. EPSS score not provided, but public POC combined with authenticated access requirement suggests moderate real-world exploitation risk in shared hosting or SaaS deployments where multiple users access the same Bagisto instance. Absence from CISA KEV indicates no confirmation of active mass exploitation at time of report. The vendor's timeline ('upcoming releases') creates a patch delay window. For organizations running Bagisto in environments with strict user access controls, risk is lower; for public e-commerce platforms with multiple administrator accounts, risk is elevated.

Exploit ScenarioDerived

An attacker with legitimate administrative access (or who has compromised an admin account) uses the Custom Scripts Handler to inject a malicious script that harvests session tokens or credentials. When other administrators or users interact with pages that execute this custom script, their browsers execute the injected code, stealing authentication cookies or redirecting them to a phishing site. Alternatively, the injected script silently modifies page content to trick users into transferring funds or revealing sensitive information.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Apr 21, 2026

Stored cross-site scripting (XSS) in Bagisto up to version 2.3.15 allows authenticated attackers to inject malicious scripts via the Custom Scripts Handler component, which are then executed in the browsers of other users with user-interaction. The vulnerability has publicly available exploit code and affects the integrity of user sessions. Vendor has acknowledged the issue and committed to fixes in upcoming releases but no patched version has been released at time of analysis.

RemediationAI

No vendor-released patched version is confirmed at time of analysis; vendor commits to fixes in upcoming releases (post-2.3.15). Immediately audit all custom scripts within the Custom Scripts Handler component and disable any that were not created by your organization or that exhibit suspicious code patterns. Apply input validation and output encoding mitigations at the application layer if source code access is available: enforce strict content-security-policy (CSP) headers to block inline script execution (trade-off: may break legitimate custom scripts relying on inline code), implement HTML entity encoding for all user-provided script content, and restrict Custom Scripts Handler access to only trusted administrator accounts via role-based access control. Enable HTTP-only and secure cookie flags to prevent JavaScript-based session theft. Monitor for suspicious script modifications and implement audit logging on the Custom Scripts Handler component. For maximum safety until a patched version is released, disable the Custom Scripts Handler feature entirely if business logic permits (verify with vendors of any extensions relying on this feature). Consult VulDB references (https://vuldb.com/vuln/358436) and GitHub security advisories for vendor-specific remediation guidance when available.

Affected VersionsENISA

Bagisto 2.3.10
Bagisto 2.3.15
Bagisto 2.3.12
Bagisto 2.3.11
Bagisto 2.3.0
Bagisto 2.3.13
Bagisto 2.3.9
Bagisto 2.3.5
Bagisto 2.3.1
Bagisto 2.3.6
Bagisto 2.3.14
Bagisto 2.3.3
Bagisto 2.3.7
Bagisto 2.3.8
Bagisto 2.3.4
Bagisto 2.3.2

Affected Packages

composer bagisto/bagisto no fix
euvd bagisto no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in composer, euvd

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

Technical ContextAI · show details

The vulnerability resides in Bagisto's Custom Scripts Handler component, a feature that likely permits administrators or authenticated users to define custom JavaScript code within the application. The root cause is improper input validation and output encoding of user-supplied data (CWE-79: Improper Neutralization of Input During Web Page Generation), allowing attackers to bypass script sanitization and inject arbitrary HTML and JavaScript. The CVSS 4.0 vector indicates network accessibility (AV:N) with low attack complexity (AC:L), requiring authenticated user privileges (PR:L) and user interaction (UI:P) to trigger, with impact limited to user session integrity (VI:L). Because the component likely stores scripts server-side, this is a stored XSS variant rather than reflected, making it more persistent and dangerous across multiple user sessions.

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 2.0 LOW
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

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

Lifecycle Timeline

6
Severity Changed
Apr 29, 2026 - 01:12 NVD
MEDIUM LOW
CVSS changed
Apr 29, 2026 - 01:12 NVD
5.1 (MEDIUM) 2.0 (LOW)
PoC Detected
Apr 29, 2026 - 01:00 vuln.today
Public exploit code
Severity Changed
Apr 21, 2026 - 19:22 NVD
LOW MEDIUM
CVSS changed
Apr 21, 2026 - 19:22 NVD
3.5 (LOW) 5.1 (MEDIUM)
CVE Published
Apr 21, 2026 - 18:30 nvd
LOW 2.0

DescriptionCVE.org

A vulnerability was determined in Bagisto up to 2.3.15. Affected by this vulnerability is an unknown functionality of the component Custom Scripts Handler. This manipulation causes cross site scripting. Remote exploitation of the attack is possible. The exploit has been publicly disclosed and may be utilized. The vendor was contacted early about this disclosure and explains: "We already replied on the github advisories. All the security issues are addressed through security advisory. We will fix this in our upcomming releases."

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
Exploit
POC
Public exploit code exists
Data Quality
6 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 LOW
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

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

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