CVE-2026-121733

Bagisto before 2.4.5 Stored XSS via RMA Conversation Attachment Upload

Published Nov 3, 2026 CVSS 4.0 · 2.1 Low EPSS < 1% KEV · Not listed
Description
Bagisto before 2.4.5 contains a stored cross-site scripting vulnerability that allows authenticated customers to upload HTML files via the RMA send-message endpoint without type or extension validation. Attackers can upload a .html attachment containing JavaScript served under /storage/rma-conversation/, executing script in the shop's origin when an administrator opens it.

Analysis

AI-generated

Technical impact

Bagisto versions earlier than 2.4.5 allow authenticated customers to upload an HTML file as an RMA conversation attachment without validating the file type or extension. The uploaded file is stored under /storage/rma-conversation/ and served as a regular file. If an administrator opens the attachment, the browser executes the embedded JavaScript within the shop’s origin, enabling attacker‑controlled client‑side code to run with the administrator’s privileges. This can lead to cookie theft, session hijacking, defacement, or the execution of additional malicious actions in the context of the shop.

Affected Systems

The vulnerability affects the Webkul:Bagisto e‑commerce framework, specifically all releases prior to 2.4.5. Any deployment of these versions that has enabled the RMA send‑message endpoint for customer use is at risk.

Risk and Exploitability

The assigned CVSS score of 2.1 classifies the issue as low severity, and the vulnerability has not been listed in the CISA KEV catalog. Exploitation requires that the attacker be an authenticated customer with permission to upload, but does not require any special privileges beyond normal account access. While the explosion probability is not quantified in EPSS, the widespread user base of Bagisto implies that many potential attackers could exploit the flaw if they have an account on the site and choose to upload a malicious attachment. Administrators reviewing or downloading attachments are the primary vectors for exploitation, as the JavaScript executes only when the attachment is opened.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Bagisto to version 2.4.5 or newer, which fixes the unrestricted file upload in the RMA send‑message controller
  • Remove or sanitize any previously uploaded files in the /storage/rma-conversation/ directory, especially .html or .htm files
  • Configure the web server or application to disallow execution of scripts from the /storage/rma-conversation/ directory by setting the appropriate MIME type or disabling script execution in that path

Generated by OpenCVE AI on November 4, 2026 at 09:03 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
Description Bagisto before 2.4.5 contains a stored cross-site scripting vulnerability that allows authenticated customers to upload HTML files via the RMA send-message endpoint without type or extension validation. Attackers can upload a .html attachment containing JavaScript served under /storage/rma-conversation/, executing script in the shop's origin when an administrator opens it.
Title Bagisto before 2.4.5 Stored XSS via RMA Conversation Attachment Upload
First Time appeared Webkul
Webkul bagisto
Weaknesses CWE-434
CPEs cpe:2.3:a:webkul:bagisto:*:*:*:*:*:*:*:*
Vendors & Products Webkul
Webkul bagisto
References
Metrics cvssV3_1

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

cvssV4_0

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

Weaknesses
  • CWE-434

    Unrestricted Upload of File with Dangerous Type

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 4, 2026, 6:58 PM
Reserved
Nov 3, 2026, 10:17 PM
Status
Deferred
Published
Nov 3, 2026, 11:17 PM
Modified
Nov 12, 2026, 9:36 PM