Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconGain legitimate or compromised admin credentials
-
DeliveryAccess Custom Scripts Handler component
-
ExploitInject malicious JavaScript into script field
-
InstallStore malicious script
-
C2Victim visits page executing custom script
-
ExecuteBrowser executes injected code
-
ImpactSession 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
Lifecycle Timeline
6DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Bagisto eCommerce platform before 2.3.10 is vulnerable to server-side template injection (SSTI) through customer address
Bagisto eCommerce platform (2.3 branch before 2.3.10) leaves installation API routes active after setup, allowing unauth
Bagisto eCommerce platform versions before 2.3.10 suffer from server-side template injection through user-controllable f
Bagisto v1.5.1 is vulnerable to Server-Side Template Injection (SSTI). Rated high severity (CVSS 8.8), this vulnerabilit
In Webkul Bagisto before 0.1.5, the functionalities for customers to change their own values (such as address, review, o
Bagisto 0.1.5 allows CSRF under /admin URIs. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable,
Arbitrary file read in Bagisto v2.4.1 allows unauthenticated remote attackers to retrieve sensitive files outside the we
Stored XSS in Bagisto's CMS page editor allows authenticated attackers to bypass input sanitization by crafting maliciou
Bagisto is an open source laravel eCommerce platform. [CVSS 7.1 HIGH]
CSV formula injection in Bagisto through 2.3.7 allows a user who can create or edit product data to store spreadsheet fo
Server-side template injection in Bagisto 2.3.7 lets an authenticated backend user with product-creation privileges inje
Bagisto v1.5.1 is vulnerable for Cross site scripting(XSS) via png file upload vulnerability in product review option. R
EUVD-2026-24243
GHSA-65fp-7g2v-658r
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB